Navigation Menu

Skip to content

Commit

Permalink
Whoops, GLSL objects are GLhandleARB, not GLuint.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 27, 2008
1 parent e18d65d commit 136f98b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mojoshader_opengl.c
Expand Up @@ -82,7 +82,7 @@ typedef int32_t int32;
struct MOJOSHADER_glShader
{
const MOJOSHADER_parseData *parseData;
GLuint handle;
GLhandleARB handle;
uint32 refcount;
};

Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 136f98b

Please sign in to comment.