src/render/opengl/SDL_shaders_gl.c
changeset 5237 55b31686f82b
parent 5231 e82908c86c9c
child 5238 c0e9d3897a85
     1.1 --- a/src/render/opengl/SDL_shaders_gl.c	Wed Feb 09 09:36:40 2011 -0800
     1.2 +++ b/src/render/opengl/SDL_shaders_gl.c	Wed Feb 09 10:13:26 2011 -0800
     1.3 @@ -274,7 +274,7 @@
     1.4      }
     1.5  
     1.6      if (!shaders_supported) {
     1.7 -        GL_DestroyShaderContext(ctx);
     1.8 +        SDL_free(ctx);
     1.9          return NULL;
    1.10      }
    1.11