From 104ceb864aa2dba24f8e0ece493611c95462b4f6 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 16 Nov 2013 10:25:46 -0800 Subject: [PATCH] Fixed compile warning, thanks to Michael Pohoreski --- test/testshader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testshader.c b/test/testshader.c index 04467709e..ced43fd96 100644 --- a/test/testshader.c +++ b/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)