src/render/opengl/SDL_shaders_gl.c
changeset 5641 7b94c53df15c
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
     1.1 --- a/src/render/opengl/SDL_shaders_gl.c	Wed Aug 17 23:26:58 2011 +0200
     1.2 +++ b/src/render/opengl/SDL_shaders_gl.c	Tue Aug 23 06:27:04 2011 -0400
     1.3 @@ -34,9 +34,9 @@
     1.4  
     1.5  typedef struct
     1.6  {
     1.7 -    GLenum program;
     1.8 -    GLenum vert_shader;
     1.9 -    GLenum frag_shader;
    1.10 +    GLhandleARB program;
    1.11 +    GLhandleARB vert_shader;
    1.12 +    GLhandleARB frag_shader;
    1.13  } GL_ShaderData;
    1.14  
    1.15  struct GL_ShaderContext
    1.16 @@ -167,7 +167,7 @@
    1.17  };
    1.18  
    1.19  static SDL_bool
    1.20 -CompileShader(GL_ShaderContext *ctx, GLenum shader, const char *defines, const char *source)
    1.21 +CompileShader(GL_ShaderContext *ctx, GLhandleARB shader, const char *defines, const char *source)
    1.22  {
    1.23      GLint status;
    1.24      const char *sources[2];