mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-14 05:46:00 +00:00
Fixed compile warning, thanks to Michael Pohoreski
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user