OSDN Git Service

Properly initialize GLClientState's m_states
authorbohu <bohu@google.com>
Tue, 18 Nov 2014 00:40:52 +0000 (16:40 -0800)
committerbohu <bohu@google.com>
Tue, 18 Nov 2014 00:40:52 +0000 (16:40 -0800)
commit1a401b4da523e68e67c1848eea92f62960bde38a
treea24ba292d7c25188941888489feb3c53b03f969d
parent6c5eae09fecb45056703b6207991c7d585ca0a18
Properly initialize GLClientState's m_states

The data pointer of m_states[i] should be initialized to 0; otherwise
it contains garbage.

Change-Id: Ibfa9bb6fec395de6ac98a3e6b91d4c6ff4143f2c
shared/OpenglCodecCommon/GLClientState.cpp