summaryrefslogtreecommitdiff
path: root/src/bin/image_data_argb_alpha.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/image_data_argb_alpha.c')
-rw-r--r--src/bin/image_data_argb_alpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/image_data_argb_alpha.c b/src/bin/image_data_argb_alpha.c
index f7306fd..03618f6 100644
--- a/src/bin/image_data_argb_alpha.c
+++ b/src/bin/image_data_argb_alpha.c
@@ -74,7 +74,7 @@ static void _loop(double t, int f)
74 efl_gfx_entity_size_set(o, EINA_SIZE2D(w, h)); 74 efl_gfx_entity_size_set(o, EINA_SIZE2D(w, h));
75 efl_gfx_fill_set(o, EINA_RECT(0, 0, w, h)); 75 efl_gfx_fill_set(o, EINA_RECT(0, 0, w, h));
76 sl = efl_gfx_buffer_map(o, EFL_GFX_BUFFER_ACCESS_MODE_WRITE, 76 sl = efl_gfx_buffer_map(o, EFL_GFX_BUFFER_ACCESS_MODE_WRITE,
77 &EINA_RECT(0, 0, 0, 0), EFL_GFX_COLORSPACE_ARGB8888, 0, &st); 77 &EINA_RECT(0, 0, w, h), EFL_GFX_COLORSPACE_ARGB8888, 0, &st);
78 if (!sl.mem) 78 if (!sl.mem)
79 { 79 {
80 fprintf(stderr, "ERROR: Failed to map image!\n"); 80 fprintf(stderr, "ERROR: Failed to map image!\n");