Fixed compile warning, thanks to Michael Pohoreski
diff --git a/test/testshader.c b/test/testshader.c
index 0446770..ced43fd 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)