mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
test-backface-culling: don't call _swap_buffers
This removes the call to cogl_framebuffer_swap_buffers in the test's paint() function since we shouldn't assume that the framebuffer is a CoglOnscreen framebuffer - in fact by default the framebuffer is offscreen. The swap was resulting in a crash since cogl_framebuffer_swap_buffers has started asserting that the given framebuffer is a CoglOnscreen. Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
parent
b72f255c0a
commit
e70071ff1d
@ -241,8 +241,6 @@ paint (TestState *state)
|
||||
|
||||
validate_result (0);
|
||||
validate_result (2);
|
||||
|
||||
cogl_framebuffer_swap_buffers (state->fb);
|
||||
}
|
||||
|
||||
static CoglHandle
|
||||
|
Loading…
Reference in New Issue
Block a user