Skip to content

Commit

Permalink
Fixed compile warning, thanks to Michael Pohoreski
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 16, 2013
1 parent 8093cfd commit 104ceb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testshader.c
Expand Up @@ -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)
Expand Down

0 comments on commit 104ceb8

Please sign in to comment.