summaryrefslogtreecommitdiff
path: root/tools/emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h
diff options
context:
space:
mode:
authorJacky Romano <jr@graphtech.co.il>2011-04-20 13:40:50 +0300
committerDavid 'Digit' Turner <digit@android.com>2011-05-03 14:54:04 +0200
commit804809556dbfbaf2829389c473ec62da360f4850 (patch)
tree6dc715a9680c282c9927818250e98feee31c37c8 /tools/emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h
parente359543f4a795dbbd4e58b1ed954fc81871377ab (diff)
emulator opengl: typo caused the decoder to crash
embarrassing :-) Change-Id: I4da948bba0cd16b6e8289c3c79e0daefb41f90e4
Diffstat (limited to 'tools/emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h')
-rw-r--r--tools/emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h b/tools/emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h
index cf1adcfe0..ddcfb1c04 100644
--- a/tools/emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h
+++ b/tools/emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h
@@ -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() {