Fixup for GLfixed as part of ES2_compatibility.

This commit is contained in:
Nigel Stewart 2012-08-19 12:07:58 -05:00
parent d93aee1bbd
commit 31f9a387e2
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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)