Fixed compile warning, thanks to Michael Pohoreski
authorSam Lantinga <slouken@libsdl.org>
Sat, 16 Nov 2013 10:25:46 -0800
changeset 7996 be1526907541
parent 7995 0eed14683885
child 7997 4ad94134d372
Fixed compile warning, thanks to Michael Pohoreski
test/testshader.c
--- a/test/testshader.c	Fri Nov 15 22:07:35 2013 -0800
+++ b/test/testshader.c	Sat Nov 16 10:25:46 2013 -0800
@@ -187,7 +187,7 @@
     }
     glUseProgramObjectARB(0);
 
-    return (glGetError() == GL_NO_ERROR);
+    return (glGetError() == GL_NO_ERROR) ? SDL_TRUE : SDL_FALSE;
 }
 
 static void DestroyShaderProgram(ShaderData *data)