summaryrefslogtreecommitdiff
path: root/tests/conform/test-framebuffer-get-bits.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conform/test-framebuffer-get-bits.c')
-rw-r--r--tests/conform/test-framebuffer-get-bits.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/conform/test-framebuffer-get-bits.c b/tests/conform/test-framebuffer-get-bits.c
index f1a85b28..c4a1dc40 100644
--- a/tests/conform/test-framebuffer-get-bits.c
+++ b/tests/conform/test-framebuffer-get-bits.c
@@ -10,15 +10,15 @@ test_framebuffer_get_bits (void)
16, 16, /* width/height */
COGL_PIXEL_FORMAT_A_8);
CoglOffscreen *offscreen_a =
- cogl_offscreen_new_with_texture (COGL_TEXTURE (tex_a));
- CoglFramebuffer *fb_a = COGL_FRAMEBUFFER (offscreen_a);
+ cogl_offscreen_new_with_texture (tex_a);
+ CoglFramebuffer *fb_a = offscreen_a;
CoglTexture2D *tex_rgba =
cogl_texture_2d_new_with_size (test_ctx,
16, 16, /* width/height */
COGL_PIXEL_FORMAT_RGBA_8888);
CoglOffscreen *offscreen_rgba =
- cogl_offscreen_new_with_texture (COGL_TEXTURE (tex_rgba));
- CoglFramebuffer *fb_rgba = COGL_FRAMEBUFFER (offscreen_rgba);
+ cogl_offscreen_new_with_texture (tex_rgba);
+ CoglFramebuffer *fb_rgba = offscreen_rgba;
cogl_framebuffer_allocate (fb_a, NULL);
cogl_framebuffer_allocate (fb_rgba, NULL);