From ad87f7f895e2cc8167e0baf2cea6b4a53870c767 Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 11 Jan 2024 00:51:19 +0100 Subject: [PATCH] dont initialize this to 1 oopsie --- src/sdl/ogl_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl/ogl_sdl.c b/src/sdl/ogl_sdl.c index 9cc2d1a94..dc831fce0 100644 --- a/src/sdl/ogl_sdl.c +++ b/src/sdl/ogl_sdl.c @@ -238,7 +238,7 @@ void OglSdlFinishUpdate(boolean waitvbl) EXPORT void HWRAPI(OglSdlSetPalette) (RGBA_t *palette) { - INT32 i = 1; + INT32 i; for (i = 0; i < 256; i++) {