1
0
Fork 0

cogl: Fix some whitespace issues

The removal of the onscreen template left some function definitions and
declarations incorrectly indented.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3923>
This commit is contained in:
Jonas Ådahl 2024-08-05 21:31:43 +02:00
parent c5e9f028b2
commit de76e007b5
7 changed files with 19 additions and 19 deletions

View file

@ -81,7 +81,7 @@ cogl_display_class_init (CoglDisplayClass *class)
}
CoglDisplay *
cogl_display_new (CoglRenderer *renderer)
cogl_display_new (CoglRenderer *renderer)
{
g_return_val_if_fail (renderer != NULL, NULL);

View file

@ -80,8 +80,8 @@ typedef struct _CoglWinsysEGLVtable
(* context_deinit) (CoglContext *context);
int
(* add_config_attributes) (CoglDisplay *display,
EGLint *attributes);
(* add_config_attributes) (CoglDisplay *display,
EGLint *attributes);
gboolean
(* choose_config) (CoglDisplay *display,
EGLint *attributes,
@ -199,5 +199,5 @@ _cogl_winsys_egl_renderer_connect_common (CoglRenderer *renderer,
GError **error);
COGL_EXPORT void
cogl_display_egl_determine_attributes (CoglDisplay *display,
EGLint *attributes);
cogl_display_egl_determine_attributes (CoglDisplay *display,
EGLint *attributes);

View file

@ -260,8 +260,8 @@ error:
}
static int
_cogl_winsys_egl_add_config_attributes (CoglDisplay *display,
EGLint *attributes)
_cogl_winsys_egl_add_config_attributes (CoglDisplay *display,
EGLint *attributes)
{
int i = 0;

View file

@ -189,8 +189,8 @@ _cogl_winsys_renderer_connect (CoglRenderer *renderer,
}
void
cogl_display_egl_determine_attributes (CoglDisplay *display,
EGLint *attributes)
cogl_display_egl_determine_attributes (CoglDisplay *display,
EGLint *attributes)
{
CoglRenderer *renderer = display->renderer;
CoglRendererEGL *egl_renderer = renderer->winsys;

View file

@ -34,9 +34,9 @@ COGL_EXPORT const CoglWinsysVtable *
_cogl_winsys_glx_get_vtable (void);
gboolean
cogl_display_glx_find_fbconfig (CoglDisplay *display,
GLXFBConfig *config_ret,
GError **error);
cogl_display_glx_find_fbconfig (CoglDisplay *display,
GLXFBConfig *config_ret,
GError **error);
void
cogl_context_glx_set_current_drawable (CoglContext *context,

View file

@ -493,8 +493,8 @@ update_winsys_features (CoglContext *context, GError **error)
}
static void
glx_attributes_from_framebuffer_config (CoglDisplay *display,
int *attributes)
glx_attributes_from_framebuffer_config (CoglDisplay *display,
int *attributes)
{
int i = 0;
@ -529,9 +529,9 @@ glx_attributes_from_framebuffer_config (CoglDisplay *display,
* we could overload as an indication of error, so we have to return
* an explicit boolean status. */
gboolean
cogl_display_glx_find_fbconfig (CoglDisplay *display,
GLXFBConfig *config_ret,
GError **error)
cogl_display_glx_find_fbconfig (CoglDisplay *display,
GLXFBConfig *config_ret,
GError **error)
{
CoglXlibRenderer *xlib_renderer =
_cogl_xlib_renderer_get_data (display->renderer);

View file

@ -337,8 +337,8 @@ fail:
}
static int
meta_renderer_native_add_egl_config_attributes (CoglDisplay *cogl_display,
EGLint *attributes)
meta_renderer_native_add_egl_config_attributes (CoglDisplay *cogl_display,
EGLint *attributes)
{
CoglRendererEGL *cogl_renderer_egl = cogl_display->renderer->winsys;
MetaRendererNativeGpuData *renderer_gpu_data = cogl_renderer_egl->platform;