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:
parent
1956a6ae76
commit
77384ffa9a
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user