MetaRendererNative: Let the closure handle queuing flip notification

The queuing that was removed in this commit would be done in the clean
up function of the closure anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=774923
This commit is contained in:
Jonas Ådahl 2016-11-23 22:40:14 +08:00 committed by Rui Matos
parent 1956a6ae76
commit 77384ffa9a

View File

@ -732,8 +732,6 @@ meta_onscreen_native_flip_crtcs (CoglOnscreen *onscreen)
MetaRenderer *renderer = meta_backend_get_renderer (backend); MetaRenderer *renderer = meta_backend_get_renderer (backend);
MetaRendererNative *renderer_native = META_RENDERER_NATIVE (renderer); MetaRendererNative *renderer_native = META_RENDERER_NATIVE (renderer);
meta_onscreen_native_queue_swap_notify (onscreen);
switch (renderer_native->mode) switch (renderer_native->mode)
{ {
case META_RENDERER_NATIVE_MODE_GBM: case META_RENDERER_NATIVE_MODE_GBM: