Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Whoops, actually set the SDL error, don't just print the error.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 22, 2009
1 parent 1c5b211 commit 30d21e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/SDL_renderer_gl.c
Expand Up @@ -492,7 +492,7 @@ set_shader_error(GL_RenderData * data, const char *prefix)
const GLubyte *errstr;
data->glGetIntegerv(GL_PROGRAM_ERROR_POSITION_ARB, &pos);
errstr = data->glGetString(GL_PROGRAM_ERROR_STRING_ARB);
printf("%s: shader compile error at position %d: %s",
SDL_SetError("%s: shader compile error at position %d: %s",
prefix, (int) pos, (const char *) errstr);
}

Expand Down

0 comments on commit 30d21e6

Please sign in to comment.