mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:03:58 +02:00
Color fix.
This commit is contained in:
parent
24b193b5dc
commit
f8772135b1
1 changed files with 2 additions and 2 deletions
|
@ -42,6 +42,8 @@ void DeferredLightingEffect::render() {
|
|||
glPushMatrix();
|
||||
glLoadIdentity();
|
||||
|
||||
glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
|
||||
glDisable(GL_BLEND);
|
||||
glDisable(GL_LIGHTING);
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
|
@ -143,8 +145,6 @@ void DeferredLightingEffect::render() {
|
|||
glBindTexture(GL_TEXTURE_2D, freeFBO->texture());
|
||||
glEnable(GL_TEXTURE_2D);
|
||||
|
||||
glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
|
||||
renderFullscreenQuad(sMin, sMin + sWidth);
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
|
|
Loading…
Reference in a new issue