commit | b62627ea336db2a4f423596c2a0f482f91690fd7 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@android.com> | Thu Aug 06 22:52:13 2009 -0700 |
committer | Romain Guy <romainguy@android.com> | Thu Aug 06 22:52:13 2009 -0700 |
tree | 5caf138d69aaf3dabe529fd9ae85bf0f48cdd3c0 | |
parent | f8e136dcd0a4ba415f2cb8b18c1abfe46cf3512f [diff] [blame] |
Add lighting to animated water ripples.
diff --git a/libs/rs/rsProgramVertex.cpp b/libs/rs/rsProgramVertex.cpp index c66e488..6ef5456 100644 --- a/libs/rs/rsProgramVertex.cpp +++ b/libs/rs/rsProgramVertex.cpp
@@ -63,7 +63,7 @@ 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++) {