mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-22 14:45:06 +00:00
Fixup for GLfixed as part of ES2_compatibility.
This commit is contained in:
parent
d93aee1bbd
commit
31f9a387e2
@ -428,6 +428,13 @@ EOT
|
||||
grep -v 'GL_COMPRESSED_RGBA_S3TC_DXT1_EXT' $1/GL_EXT_texture_compression_dxt1 > tmp
|
||||
mv tmp $1/GL_EXT_texture_compression_dxt1
|
||||
|
||||
# Append GLfixed to GL_ARB_ES2_compatibility
|
||||
# Probably ought to be explicitly mentioned in the spec language
|
||||
|
||||
cat >> $1/GL_ARB_ES2_compatibility <<EOT
|
||||
typedef int GLfixed
|
||||
EOT
|
||||
|
||||
# clean up
|
||||
rm -f $1/*.bak
|
||||
|
||||
|
@ -1,8 +1,7 @@
|
||||
GL_REGAL_ES1_0_compatibility
|
||||
https://github.com/p3/regal/blob/master/doc/extensions/GL_REGAL_ES1_0_compatibility.txt
|
||||
GL_REGAL_ES1_0_compatibility
|
||||
typedef GLuint GLfixed
|
||||
typedef GLuint GLclampx
|
||||
typedef int GLclampx
|
||||
void glAlphaFuncx (GLenum func, GLclampx ref)
|
||||
void glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha)
|
||||
void glClearDepthx (GLclampx depth)
|
||||
|
Loading…
Reference in New Issue
Block a user