emulator Opengl - slight type change for GLESv2
Match the location type in the decoder context data to take int locations rather then symbolic constants. Change-Id: I353e43315c90dbeafe4820a3749a0d1cf0848d4b
This commit is contained in:
committed by
David 'Digit' Turner
parent
68367ae969
commit
139308015e
@@ -51,13 +51,13 @@ public:
|
||||
delete m_pointerData;
|
||||
}
|
||||
|
||||
void storePointerData(PointerDataLocation loc, void *data, size_t len) {
|
||||
void storePointerData(unsigned int loc, void *data, size_t len) {
|
||||
|
||||
assert(loc < m_nLocations);
|
||||
m_pointerData[loc].alloc(len);
|
||||
memcpy(m_pointerData[loc].ptr(), data, len);
|
||||
}
|
||||
void *pointerData(PointerDataLocation loc) {
|
||||
void *pointerData(unsigned int loc) {
|
||||
assert(loc < m_nLocations);
|
||||
return m_pointerData[loc].ptr();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user