diff options
| author | Jacky Romano <jr@graphtech.co.il> | 2011-04-13 10:03:53 +0300 |
|---|---|---|
| committer | David 'Digit' Turner <digit@android.com> | 2011-05-03 14:38:29 +0200 |
| commit | 68367ae969fc78d948d6ee02c54b9afd78ffad29 (patch) | |
| tree | 0319ae00cb8923d08a0fccfd644b69edc81425d7 /tools/emulator/opengl/shared/OpenglCodecCommon/GLClientState.h | |
| parent | e72ec4bfbda1aef6faebd20c0afc19ace53b308e (diff) | |
emulator Opengl - number of supported vertex attributes
make the number of suppoted vertex attributes (by the codec)
common across the encoder and the decoder.
Change-Id: I699ef62821566cec0764982872adb92ebb8861e9
Diffstat (limited to 'tools/emulator/opengl/shared/OpenglCodecCommon/GLClientState.h')
| -rw-r--r-- | tools/emulator/opengl/shared/OpenglCodecCommon/GLClientState.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/emulator/opengl/shared/OpenglCodecCommon/GLClientState.h b/tools/emulator/opengl/shared/OpenglCodecCommon/GLClientState.h index 2126241a7..9e4c9160c 100644 --- a/tools/emulator/opengl/shared/OpenglCodecCommon/GLClientState.h +++ b/tools/emulator/opengl/shared/OpenglCodecCommon/GLClientState.h @@ -30,6 +30,7 @@ #include <stdio.h> #include <stdlib.h> #include "ErrorLog.h" +#include "codec_defs.h" class GLClientState { public: @@ -70,7 +71,7 @@ public: } PixelStoreState; public: - GLClientState(int nLocations = 32); + GLClientState(int nLocations = CODEC_MAX_VERTEX_ATTRIBUTES); ~GLClientState(); int nLocations() { return m_nLocations; } const PixelStoreState *pixelStoreState() { return &m_pixelStore; } |
