Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed crash when shaders aren't available.

  • Loading branch information
slouken committed Feb 9, 2011
1 parent b55b301 commit e10581c31293cff27a89f558962ec9a5f37d607a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/render/opengl/SDL_shaders_gl.c
@@ -274,7 +274,7 @@ GL_CreateShaderContext()
}

if (!shaders_supported) {
GL_DestroyShaderContext(ctx);
SDL_free(ctx);
return NULL;
}

0 comments on commit e10581c

Please sign in to comment.