Merge "emulator opengl: typo caused the decoder to crash"

This commit is contained in:
David Turner
2011-05-03 06:05:17 -07:00
committed by Android Code Review

View File

@@ -44,7 +44,7 @@ public:
GLDecoderContextData(int nLocations = CODEC_MAX_VERTEX_ATTRIBUTES) :
m_nLocations(nLocations)
{
m_pointerData = new FixedBuffer(m_nLocations);
m_pointerData = new FixedBuffer[m_nLocations];
}
~GLDecoderContextData() {