mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-10-04 04:38:03 +03:00
Fix a compiler warning
This commit is contained in:
+1
-1
@@ -155,7 +155,7 @@ static void makeDIB(int width, int height, int depth) {
|
||||
SDL_FreeSurface(sdl_dib);
|
||||
}
|
||||
|
||||
uint32_t format;
|
||||
uint32_t format = 0;
|
||||
switch (depth) {
|
||||
case 8:
|
||||
format = SDL_PIXELFORMAT_INDEX8;
|
||||
|
||||
Reference in New Issue
Block a user