[mutter] renderer-native: Fix a couple of style misses



commit e3f30371aa707d6a7c4f66579e16b994cb0cdfad
Author: Jonas Ådahl <jadahl gmail com>
Date:   Fri Jan 17 19:35:19 2020 +0100

    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

 src/backends/native/meta-renderer-native.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/backends/native/meta-renderer-native.c b/src/backends/native/meta-renderer-native.c
index b99b2f195..0de4ea3dc 100644
--- a/src/backends/native/meta-renderer-native.c
+++ b/src/backends/native/meta-renderer-native.c
@@ -3336,7 +3336,7 @@ meta_renderer_native_create_view (MetaRenderer       *renderer,
   if (!onscreen)
     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,
                                                          cogl_context,
@@ -3345,7 +3345,6 @@ meta_renderer_native_create_view (MetaRenderer       *renderer,
                                                          &error);
       if (!offscreen)
         g_error ("Failed to allocate back buffer texture: %s", error->message);
-
     }
 
   if (should_force_shadow_fb (renderer_native,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]