Selaa lähdekoodia

Fixed compile error.

bkaradzic 11 vuotta sitten
vanhempi
sitoutus
b685a02947
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      src/renderer_gl.h

+ 4 - 0
src/renderer_gl.h

@@ -336,6 +336,10 @@ typedef uint64_t GLuint64;
 #	define GL_TEXTURE_MAX_LEVEL 0x813D
 #	define GL_TEXTURE_MAX_LEVEL 0x813D
 #endif // GL_TEXTURE_MAX_LEVEL
 #endif // GL_TEXTURE_MAX_LEVEL
 
 
+#ifndef GL_COMPUTE_SHADER
+#	define GL_COMPUTE_SHADER 0x91B9
+#endif // GL_COMPUTE_SHADER
+
 #if BX_PLATFORM_NACL
 #if BX_PLATFORM_NACL
 #	include "glcontext_ppapi.h"
 #	include "glcontext_ppapi.h"
 #elif BX_PLATFORM_WINDOWS
 #elif BX_PLATFORM_WINDOWS