* commit '81973086cf93e84fdbac204a4d9dd06cbe72798c': opengles emulator: GLES2 codec - glFinishRoundTrip
This commit is contained in:
@@ -58,10 +58,18 @@ int GL2Decoder::initGL(get_proc_func_t getProcFunc, void *getProcFuncData)
|
||||
set_glDrawElementsOffset(s_glDrawElementsOffset);
|
||||
set_glDrawElementsData(s_glDrawElementsData);
|
||||
set_glShaderString(s_glShaderString);
|
||||
set_glFinishRoundTrip(s_glFinishRoundTrip);
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
int GL2Decoder::s_glFinishRoundTrip(void *self)
|
||||
{
|
||||
GL2Decoder *ctx = (GL2Decoder *)self;
|
||||
ctx->glFinish();
|
||||
return 0;
|
||||
}
|
||||
|
||||
void GL2Decoder::s_glGetCompressedTextureFormats(void *self, int count, GLint *formats)
|
||||
{
|
||||
GL2Decoder *ctx = (GL2Decoder *) self;
|
||||
|
||||
@@ -31,5 +31,6 @@ private:
|
||||
static void gl2_APIENTRY s_glDrawElementsOffset(void *self, GLenum mode, GLsizei count, GLenum type, GLuint offset);
|
||||
static void gl2_APIENTRY s_glDrawElementsData(void *self, GLenum mode, GLsizei count, GLenum type, void * data, GLuint datalen);
|
||||
static void gl2_APIENTRY s_glShaderString(void *self, GLuint shader, const GLchar* string, GLsizei len);
|
||||
static int gl2_APIENTRY s_glFinishRoundTrip(void *self);
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user