Whoops, GLSL objects are GLhandleARB, not GLuint. trunk
authorRyan C. Gordon <icculus@icculus.org>
Sun, 27 Apr 2008 03:01:59 -0400
branchtrunk
changeset 210 cb724dd80d4b
parent 209 2bd25adf2d3a
child 211 e4587c44661f
Whoops, GLSL objects are GLhandleARB, not GLuint.
mojoshader_opengl.c
--- a/mojoshader_opengl.c	Sun Apr 27 02:58:40 2008 -0400
+++ b/mojoshader_opengl.c	Sun Apr 27 03:01:59 2008 -0400
@@ -82,7 +82,7 @@
 struct MOJOSHADER_glShader
 {
     const MOJOSHADER_parseData *parseData;
-    GLuint handle;
+    GLhandleARB handle;
     uint32 refcount;
 };
 
@@ -97,7 +97,7 @@
 {
     const MOJOSHADER_glShader *vertex;
     const MOJOSHADER_glShader *fragment;
-    GLuint handle;
+    GLhandleARB handle;
     uint32 uniform_count;
     UniformMap uniforms;
     uint32 refcount;
@@ -350,7 +350,7 @@
 
 void MOJOSHADER_glBindProgram(MOJOSHADER_glProgram *program)
 {
-    GLuint handle = 0;
+    GLhandleARB handle = 0;
     if (program != NULL)
     {
         handle = program->handle;