Commit 479bc2d5ed4d49c500a57a098c3d22ee143367b7

Marc-André Lureau 2023-02-16T18:47:16

windows/gles: correct indentation Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> (cherry picked from commit 654965a6286ccb3ef861310d0cff578788641091)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/src/video/windows/SDL_windowsopengles.c b/src/video/windows/SDL_windowsopengles.c
index 78fae17..7b8f753 100644
--- a/src/video/windows/SDL_windowsopengles.c
+++ b/src/video/windows/SDL_windowsopengles.c
@@ -96,10 +96,12 @@ void WIN_GLES_DeleteContext(_THIS, SDL_GLContext context)
     WIN_GLES_UnloadLibrary(_this);
 }
 
+/* *INDENT-OFF* */ /* clang-format off */
 SDL_EGL_SwapWindow_impl(WIN)
-    SDL_EGL_MakeCurrent_impl(WIN)
+SDL_EGL_MakeCurrent_impl(WIN)
+/* *INDENT-ON* */ /* clang-format on */
 
-        int WIN_GLES_SetupWindow(_THIS, SDL_Window *window)
+int WIN_GLES_SetupWindow(_THIS, SDL_Window *window)
 {
     /* The current context is lost in here; save it and reset it. */
     SDL_WindowData *windowdata = (SDL_WindowData *)window->driverdata;