From 804809556dbfbaf2829389c473ec62da360f4850 Mon Sep 17 00:00:00 2001 From: Jacky Romano Date: Wed, 20 Apr 2011 13:40:50 +0300 Subject: [PATCH] emulator opengl: typo caused the decoder to crash embarrassing :-) Change-Id: I4da948bba0cd16b6e8289c3c79e0daefb41f90e4 --- .../opengl/shared/OpenglCodecCommon/GLDecoderContextData.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {