Commit dd72f3f03d207b23d9a7a2845950f49ded5a825f

Sam Lantinga 2022-10-24T10:37:43

Added comment for #endif

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/render/SDL_render.c b/src/render/SDL_render.c
index 082545f..722147c 100644
--- a/src/render/SDL_render.c
+++ b/src/render/SDL_render.c
@@ -954,7 +954,7 @@ static void SDL_CalculateSimulatedVSyncInterval(SDL_Renderer *renderer, SDL_Wind
     }
     renderer->simulate_vsync_interval = (1000 / refresh_rate);
 }
-#endif
+#endif /* !SDL_RENDER_DISABLED */
 
 SDL_Renderer *
 SDL_CreateRenderer(SDL_Window * window, int index, Uint32 flags)