diff options
author | bohu <bohu@google.com> | 2014-11-18 19:46:22 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-11-18 19:46:22 +0000 |
commit | 7041a479c7181b9b6caf27d471b5b7e36cefb46f (patch) | |
tree | 0a415f693f58349d6162e8d265b83a868c848752 /opengl | |
parent | 6aedefacbd932dd340d0f7e96b6f6aff2aba4558 (diff) | |
parent | 4a01a642b03e367e7a0884bd2140e46b09e494ef (diff) | |
download | android_device_generic_goldfish-7041a479c7181b9b6caf27d471b5b7e36cefb46f.tar.gz android_device_generic_goldfish-7041a479c7181b9b6caf27d471b5b7e36cefb46f.tar.bz2 android_device_generic_goldfish-7041a479c7181b9b6caf27d471b5b7e36cefb46f.zip |
Merge "Properly initialize GLClientState's m_states"
Diffstat (limited to 'opengl')
-rw-r--r-- | opengl/shared/OpenglCodecCommon/GLClientState.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opengl/shared/OpenglCodecCommon/GLClientState.cpp b/opengl/shared/OpenglCodecCommon/GLClientState.cpp index a84e856..0826a14 100644 --- a/opengl/shared/OpenglCodecCommon/GLClientState.cpp +++ b/opengl/shared/OpenglCodecCommon/GLClientState.cpp @@ -35,6 +35,7 @@ GLClientState::GLClientState(int nLocations) for (int i = 0; i < m_nLocations; i++) { m_states[i].enabled = 0; m_states[i].enableDirty = false; + m_states[i].data = 0; } m_currentArrayVbo = 0; m_currentIndexVbo = 0; |