Commit d7352d57 authored by Zhigang Gong's avatar Zhigang Gong Committed by Eric Anholt

Add glFinish after glFlush.

Signed-off-by: default avatarZhigang Gong <zhigang.gong@linux.intel.com>
parent 8b943ce2
......@@ -224,6 +224,7 @@ glamor_block_handler(ScreenPtr screen)
glamor_gl_dispatch *dispatch = &glamor_priv->dispatch;
dispatch->glFlush();
dispatch->glFinish();
}
static void
......
......@@ -27,6 +27,7 @@ glamor_gl_dispatch_init_impl(struct glamor_gl_dispatch *dispatch,
INIT_FUNC(dispatch, glBindTexture, get_proc_address);
INIT_FUNC(dispatch, glTexSubImage2D, get_proc_address);
INIT_FUNC(dispatch, glFlush, get_proc_address);
INIT_FUNC(dispatch, glFinish, get_proc_address);
INIT_FUNC(dispatch, glGetIntegerv, get_proc_address);
INIT_FUNC(dispatch, glGetString, get_proc_address);
INIT_FUNC(dispatch, glScissor, get_proc_address);
......
......@@ -41,6 +41,7 @@ typedef struct glamor_gl_dispatch {
const GLvoid * pixels);
/* MISC */
void (*glFlush) (void);
void (*glFinish) (void);
void (*glGetIntegerv) (GLenum pname, GLint * params);
const GLubyte *(*glGetString) (GLenum name);
void (*glScissor) (GLint x, GLint y, GLsizei width,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment