From 136f98ba58e643c548f23cc9b98d387f6562cc17 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 27 Apr 2008 03:01:59 -0400 Subject: [PATCH] Whoops, GLSL objects are GLhandleARB, not GLuint. --HG-- branch : trunk --- mojoshader_opengl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mojoshader_opengl.c b/mojoshader_opengl.c index dcc1c6fb..c05fa1cd 100644 --- a/mojoshader_opengl.c +++ b/mojoshader_opengl.c @@ -82,7 +82,7 @@ typedef int32_t int32; struct MOJOSHADER_glShader { const MOJOSHADER_parseData *parseData; - GLuint handle; + GLhandleARB handle; uint32 refcount; }; @@ -97,7 +97,7 @@ struct MOJOSHADER_glProgram { const MOJOSHADER_glShader *vertex; const MOJOSHADER_glShader *fragment; - GLuint handle; + GLhandleARB handle; uint32 uniform_count; UniformMap uniforms; uint32 refcount; @@ -350,7 +350,7 @@ MOJOSHADER_glProgram *MOJOSHADER_glLinkProgram(MOJOSHADER_glShader *vshader, void MOJOSHADER_glBindProgram(MOJOSHADER_glProgram *program) { - GLuint handle = 0; + GLhandleARB handle = 0; if (program != NULL) { handle = program->handle;