From 0c70101b74db61f883fdd7907a4975ffff735044 Mon Sep 17 00:00:00 2001 From: Julian Sikorski Date: Wed, 13 Nov 2019 04:08:23 +0100 Subject: Sync bgfx, bx and bimg with upstream; fix the hlsl fs_chroma.sc matrix transposition properly (#5875) * Sync bgfx with upstream revision 280420d * Sync bx with upstream revision 267727d * Sync bimg with upstream revision c1bab10 * Use bgfx helper functions to ensure correct matrix orientation * Rebuild hlsl chain --- 3rdparty/bgfx/src/renderer_gl.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '3rdparty/bgfx/src/renderer_gl.h') diff --git a/3rdparty/bgfx/src/renderer_gl.h b/3rdparty/bgfx/src/renderer_gl.h index e8d653c93ce..3c224d325d2 100644 --- a/3rdparty/bgfx/src/renderer_gl.h +++ b/3rdparty/bgfx/src/renderer_gl.h @@ -556,6 +556,14 @@ typedef uint64_t GLuint64; # define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F #endif // GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB +#ifndef GL_SRGB_EXT +# define GL_SRGB_EXT 0x8C40 +#endif // GL_SRGB_EXT + +#ifndef GL_SRGB_ALPHA_EXT +# define GL_SRGB_ALPHA_EXT 0x8C42 +#endif // GL_SRGB_ALPHA_EXT + #ifndef GL_SRGB8_ALPHA8 # define GL_SRGB8_ALPHA8 0x8C43 #endif // GL_SRGB8_ALPHA8 -- cgit v1.2.3-70-g09d2