mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
backends/native: Remove unneeded call
The call to _cogl_framebuffer_winsys_update_size() results in no-op here, as the framebuffer has already the right size when rebuilding the views. https://bugzilla.gnome.org/show_bug.cgi?id=745079
This commit is contained in:
parent
92c03e8625
commit
4b4eb3a039
@ -751,17 +751,11 @@ meta_renderer_native_init_onscreen (CoglOnscreen *onscreen,
|
|||||||
if (width == 0 || height == 0)
|
if (width == 0 || height == 0)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
if (!meta_renderer_native_create_surface (renderer_native,
|
return meta_renderer_native_create_surface (renderer_native,
|
||||||
width, height,
|
width, height,
|
||||||
&onscreen_native->surface,
|
&onscreen_native->surface,
|
||||||
&egl_onscreen->egl_surface,
|
&egl_onscreen->egl_surface,
|
||||||
error))
|
error);
|
||||||
return FALSE;
|
|
||||||
|
|
||||||
|
|
||||||
_cogl_framebuffer_winsys_update_size (framebuffer, width, height);
|
|
||||||
|
|
||||||
return TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user