Commit 636dc1e6 authored by Sam Lantinga's avatar Sam Lantinga

Whoops, actually set the SDL error, don't just print the error.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404220
parent 21ee95a0
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment