summaryrefslogtreecommitdiff
path: root/libs/rs/rsProgramVertex.cpp
diff options
context:
space:
mode:
author Romain Guy <romainguy@android.com> 2009-08-06 22:52:13 -0700
committer Romain Guy <romainguy@android.com> 2009-08-06 22:52:13 -0700
commitb62627ea336db2a4f423596c2a0f482f91690fd7 (patch)
tree5caf138d69aaf3dabe529fd9ae85bf0f48cdd3c0 /libs/rs/rsProgramVertex.cpp
parentf8e136dcd0a4ba415f2cb8b18c1abfe46cf3512f (diff)
Add lighting to animated water ripples.
Diffstat (limited to 'libs/rs/rsProgramVertex.cpp')
-rw-r--r--libs/rs/rsProgramVertex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rs/rsProgramVertex.cpp b/libs/rs/rsProgramVertex.cpp
index c66e488a6c73..6ef54563bd50 100644
--- a/libs/rs/rsProgramVertex.cpp
+++ b/libs/rs/rsProgramVertex.cpp
@@ -63,7 +63,7 @@ void ProgramVertex::setupGL(ProgramVertexState *state)
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
if (mLightCount) {
- int v = 1;
+ int v = 0;
glEnable(GL_LIGHTING);
glLightModelxv(GL_LIGHT_MODEL_TWO_SIDE, &v);
for (uint32_t ct = 0; ct < mLightCount; ct++) {