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
This commit is contained in:
committed by
David 'Digit' Turner
parent
e72ec4bfbd
commit
68367ae969
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user