mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Merge pull request #375 from ming4883/pull-request-2
fixed sRGB-texture related compile erros for gles 2.0
This commit is contained in:
commit
2f6de640e1
1 changed files with 24 additions and 0 deletions
|
@ -337,6 +337,30 @@ typedef uint64_t GLuint64;
|
|||
# define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
|
||||
#endif // GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB
|
||||
|
||||
#ifndef GL_SRGB8_ALPHA8
|
||||
#define GL_SRGB8_ALPHA8 0x8C43
|
||||
#endif // GL_SRGB8_ALPHA8
|
||||
|
||||
#ifndef GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT
|
||||
#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
|
||||
#endif // GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT
|
||||
|
||||
#ifndef GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT
|
||||
#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
|
||||
#endif // GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT
|
||||
|
||||
#ifndef GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT
|
||||
#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
|
||||
#endif // GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT
|
||||
|
||||
#ifndef GL_COMPRESSED_SRGB8_ETC2
|
||||
#define GL_COMPRESSED_SRGB8_ETC2 0x9275
|
||||
#endif // GL_COMPRESSED_SRGB8_ETC2
|
||||
|
||||
#ifndef GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2
|
||||
#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
|
||||
#endif // GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2
|
||||
|
||||
#ifndef GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE
|
||||
# define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
|
||||
#endif // GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE
|
||||
|
|
Loading…
Reference in a new issue