Fixed compile warning, thanks to Michael Pohoreski

main
Sam Lantinga 2013-11-16 10:25:46 -08:00
parent 8093cfd8ce
commit 104ceb864a
1 changed files with 1 additions and 1 deletions

View File

@ -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)