forked from AuroraMiddleware/gtk
GskGLDriver: Use g_assert_cmphex for GL constants
This commit is contained in:
parent
2f16c092a5
commit
04fadc508b
@ -496,7 +496,7 @@ gsk_gl_driver_create_render_target (GskGLDriver *driver,
|
||||
t->fbo.fbo_id = fbo_id;
|
||||
t->fbo.depth_stencil_id = depth_stencil_buffer_id;
|
||||
|
||||
g_assert_cmpint (glCheckFramebufferStatus (GL_FRAMEBUFFER), ==, GL_FRAMEBUFFER_COMPLETE);
|
||||
g_assert_cmphex (glCheckFramebufferStatus (GL_FRAMEBUFFER), ==, GL_FRAMEBUFFER_COMPLETE);
|
||||
glBindFramebuffer (GL_FRAMEBUFFER, driver->default_fbo.fbo_id);
|
||||
|
||||
return fbo_id;
|
||||
|
Loading…
Reference in New Issue
Block a user