Browse Source

Fixed compile error.

bkaradzic 11 years ago
parent
commit
b685a02947
1 changed files with 4 additions and 0 deletions
  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
 #endif // GL_TEXTURE_MAX_LEVEL
 
+#ifndef GL_COMPUTE_SHADER
+#	define GL_COMPUTE_SHADER 0x91B9
+#endif // GL_COMPUTE_SHADER
+
 #if BX_PLATFORM_NACL
 #	include "glcontext_ppapi.h"
 #elif BX_PLATFORM_WINDOWS