summaryrefslogtreecommitdiff
path: root/tests/conform/test-premult.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conform/test-premult.c')
-rw-r--r--tests/conform/test-premult.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conform/test-premult.c b/tests/conform/test-premult.c
index a960409a..8c7b4d07 100644
--- a/tests/conform/test-premult.c
+++ b/tests/conform/test-premult.c
@@ -57,7 +57,7 @@ make_texture (uint32_t color,
g_free (tex_data);
- return COGL_TEXTURE (tex_2d);
+ return tex_2d;
}
static void
@@ -84,7 +84,7 @@ check_texture (CoglPipeline *pipeline,
CoglTexture *tex,
uint32_t expected_result)
{
- cogl_pipeline_set_layer_texture (pipeline, 0, COGL_TEXTURE (tex));
+ cogl_pipeline_set_layer_texture (pipeline, 0, tex);
cogl_framebuffer_draw_rectangle (test_fb, pipeline,
x * QUAD_WIDTH,
y * QUAD_WIDTH,