Commit fb6b0de4 authored by Jonas Ådahl's avatar Jonas Ådahl

clutter: Use non-deprecated pixel reading function when picking

This wont fix anything, it just one small step away from using
deprecated cogl functions.
parent 22173fde
......@@ -1456,10 +1456,10 @@ _clutter_stage_do_pick_on_view (ClutterStage *stage,
used. The format is requested as pre-multiplied because Cogl
assumes that all pixels in the framebuffer are premultiplied so
it avoids a conversion. */
cogl_read_pixels (read_x, read_y, 1, 1,
cogl_framebuffer_read_pixels (fb,
read_x, read_y, 1, 1,
if (G_UNLIKELY (clutter_pick_debug_flags & CLUTTER_DEBUG_DUMP_PICK_BUFFERS))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment