Skip to content
Permalink
Browse files

Fixed compile warning, thanks to Michael Pohoreski

  • Loading branch information
slouken committed Nov 16, 2013
1 parent 8093cfd commit 104ceb864aa2dba24f8e0ece493611c95462b4f6
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/testshader.c
@@ -187,7 +187,7 @@ static SDL_bool CompileShaderProgram(ShaderData *data)
}
glUseProgramObjectARB(0);

return (glGetError() == GL_NO_ERROR);
return (glGetError() == GL_NO_ERROR) ? SDL_TRUE : SDL_FALSE;
}

static void DestroyShaderProgram(ShaderData *data)

0 comments on commit 104ceb8

Please sign in to comment.