test/testshader.c
changeset 5641 7b94c53df15c
parent 5535 96594ac5fd1a
child 6256 1d905b13b102
     1.1 --- a/test/testshader.c	Wed Aug 17 23:26:58 2011 +0200
     1.2 +++ b/test/testshader.c	Tue Aug 23 06:27:04 2011 -0400
     1.3 @@ -29,9 +29,9 @@
     1.4  };
     1.5  
     1.6  typedef struct {
     1.7 -    GLuint program;
     1.8 -    GLuint vert_shader;
     1.9 -    GLuint frag_shader;
    1.10 +    GLhandleARB program;
    1.11 +    GLhandleARB vert_shader;
    1.12 +    GLhandleARB frag_shader;
    1.13      const char *vert_source;
    1.14      const char *frag_source;
    1.15  } ShaderData;
    1.16 @@ -124,7 +124,7 @@
    1.17  static PFNGLUNIFORM1IARBPROC glUniform1iARB;
    1.18  static PFNGLUSEPROGRAMOBJECTARBPROC glUseProgramObjectARB;
    1.19  
    1.20 -static SDL_bool CompileShader(GLenum shader, const char *source)
    1.21 +static SDL_bool CompileShader(GLhandleARB shader, const char *source)
    1.22  {
    1.23      GLint status;
    1.24