renderer-native: Fix a couple of style misses

Removed stray newline, and fixed an incorrect indentation.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/1042
This commit is contained in:
Jonas Ådahl 2020-01-17 19:35:19 +01:00
parent 1a14c4d3c9
commit e3f30371aa

View File

@ -3336,7 +3336,7 @@ meta_renderer_native_create_view (MetaRenderer *renderer,
if (!onscreen) if (!onscreen)
g_error ("Failed to allocate onscreen framebuffer: %s", error->message); g_error ("Failed to allocate onscreen framebuffer: %s", error->message);
if (view_transform != META_MONITOR_TRANSFORM_NORMAL) if (view_transform != META_MONITOR_TRANSFORM_NORMAL)
{ {
offscreen = meta_renderer_native_create_offscreen (renderer_native, offscreen = meta_renderer_native_create_offscreen (renderer_native,
cogl_context, cogl_context,
@ -3345,7 +3345,6 @@ meta_renderer_native_create_view (MetaRenderer *renderer,
&error); &error);
if (!offscreen) if (!offscreen)
g_error ("Failed to allocate back buffer texture: %s", error->message); g_error ("Failed to allocate back buffer texture: %s", error->message);
} }
if (should_force_shadow_fb (renderer_native, if (should_force_shadow_fb (renderer_native,