emulator opengl: Added glFinishRoundTrip to GLESv2
Change-Id: Ia1c6cb7e75a1769040d13e81d0da7db5f5c28435
This commit is contained in:
committed by
Guy Zadickario
parent
cd108d55f4
commit
a26f6f221b
@@ -26,6 +26,7 @@ GL2Encoder::GL2Encoder(IOStream *stream) : gl2_encoder_context_t(stream)
|
||||
m_glGetVertexAttribfv_enc = set_glGetVertexAttribfv(s_glGetVertexAttribfv);
|
||||
m_glGetVertexAttribPointerv = set_glGetVertexAttribPointerv(s_glGetVertexAttribPointerv);
|
||||
set_glShaderSource(s_glShaderSource);
|
||||
set_glFinish(s_glFinish);
|
||||
}
|
||||
|
||||
GL2Encoder::~GL2Encoder()
|
||||
@@ -335,3 +336,10 @@ void GL2Encoder::s_glShaderSource(void *self, GLuint shader, GLsizei count, cons
|
||||
ctx->glShaderString(ctx, shader, str, len + 1);
|
||||
delete str;
|
||||
}
|
||||
|
||||
void GL2Encoder::s_glFinish(void *self)
|
||||
{
|
||||
GL2Encoder *ctx = (GL2Encoder *)self;
|
||||
ctx->glFinishRoundTrip(self);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user