mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed compile warning, thanks to Michael Pohoreski
This commit is contained in:
parent
8093cfd8ce
commit
104ceb864a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user