mojoshader_opengl.c
branchtrunk
changeset 210 cb724dd80d4b
parent 209 2bd25adf2d3a
child 212 76eeb43e054c
--- 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;