From d8cfb8f64d3ba3012a9077080cb2e88ae73dbd97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Fri, 22 Jan 2021 07:33:59 -0800 Subject: [PATCH] Fixed issue #2368. --- src/renderer_gl.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/renderer_gl.h b/src/renderer_gl.h index 78126806d..7325a0514 100644 --- a/src/renderer_gl.h +++ b/src/renderer_gl.h @@ -624,7 +624,7 @@ typedef uint64_t GLuint64; # define GL_MAX_SAMPLES 0x8D57 #endif // GL_MAX_SAMPLES -#ifndef GL_MAX_SAMPLES_IMG +#ifndef GL_MAX_SAMPLES_IMG # define GL_MAX_SAMPLES_IMG 0x9135 #endif // GL_MAX_SAMPLES_IMG @@ -981,6 +981,10 @@ typedef uint64_t GLuint64; # define GL_COMMAND_BARRIER_BIT 0x00000040 #endif // GL_COMMAND_BARRIER_BIT +#ifndef GL_FIRST_VERTEX_CONVENTION +# define GL_FIRST_VERTEX_CONVENTION 0x8E4D +#endif // GL_FIRST_VERTEX_CONVENTION + // _KHR or _ARB... #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243