Fix compiler warning in cg.c

This commit is contained in:
kichikuou
2026-06-27 16:18:09 +09:00
parent 1593452146
commit 4ffab8e4e9
+1 -1
View File
@@ -93,7 +93,7 @@ static bool is_censored_cg(int no) {
}
static void cg_mosaic(cgdata *cg) {
Uint32 format;
Uint32 format = 0;
switch (cg->depth) {
case 8:
format = SDL_PIXELFORMAT_INDEX8;