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)