diff options
Diffstat (limited to 'tests/conform/test-gles2-context.c')
-rw-r--r-- | tests/conform/test-gles2-context.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/conform/test-gles2-context.c b/tests/conform/test-gles2-context.c index 1f2087d0..5e1d2784 100644 --- a/tests/conform/test-gles2-context.c +++ b/tests/conform/test-gles2-context.c @@ -26,8 +26,7 @@ test_push_pop_single_context (void) offscreen_texture = cogl_texture_2d_new_with_size (test_ctx, cogl_framebuffer_get_width (test_fb), - cogl_framebuffer_get_height (test_fb), - COGL_PIXEL_FORMAT_ANY); + cogl_framebuffer_get_height (test_fb)); offscreen = cogl_offscreen_new_with_texture (offscreen_texture); pipeline = cogl_pipeline_new (test_ctx); @@ -150,8 +149,7 @@ create_gles2_context (CoglTexture **offscreen_texture, *offscreen_texture = cogl_texture_2d_new_with_size (test_ctx, cogl_framebuffer_get_width (test_fb), - cogl_framebuffer_get_height (test_fb), - COGL_PIXEL_FORMAT_ANY); + cogl_framebuffer_get_height (test_fb)); *offscreen = cogl_offscreen_new_with_texture (*offscreen_texture); *pipeline = cogl_pipeline_new (test_ctx); |