diff --git a/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmContext.h b/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmContext.h index 388c8d4cf..7ba496796 100644 --- a/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmContext.h +++ b/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmContext.h @@ -41,9 +41,9 @@ public: void setupArraysPointers(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct); void drawPointsArrs(GLESConversionArrays& arrs,GLint first,GLsizei count); void drawPointsElems(GLESConversionArrays& arrs,GLsizei count,GLenum type,const GLvoid* indices); - const GLESpointer* getPointer(GLenum arrType); + virtual const GLESpointer* getPointer(GLenum arrType); int getMaxTexUnits(); - + ~GLEScmContext(); protected: diff --git a/tools/emulator/opengl/host/libs/Translator/include/GLcommon/GLEScontext.h b/tools/emulator/opengl/host/libs/Translator/include/GLcommon/GLEScontext.h index 2b48d14e1..1ed7f2c04 100644 --- a/tools/emulator/opengl/host/libs/Translator/include/GLcommon/GLEScontext.h +++ b/tools/emulator/opengl/host/libs/Translator/include/GLcommon/GLEScontext.h @@ -109,7 +109,7 @@ public: bool isArrEnabled(GLenum); void enableArr(GLenum arr,bool enable); const GLvoid* setPointer(GLenum arrType,GLint size,GLenum type,GLsizei stride,const GLvoid* data,bool normalize = false); - const GLESpointer* getPointer(GLenum arrType); + virtual const GLESpointer* getPointer(GLenum arrType); virtual void setupArraysPointers(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct) = 0; void bindBuffer(GLenum target,GLuint buffer); void unbindBuffer(GLuint buffer);