mirror of
https://github.com/encounter/SDL.git
synced 2025-12-18 17:35:39 +00:00
Build warning fixes for gcc-11.3
This commit is contained in:
committed by
Ozkan Sezer
parent
b359282a5c
commit
4e07d4722d
@@ -178,6 +178,10 @@ void _testBlitBlendMode(int mode)
|
||||
bmode = SDL_BLENDMODE_ADD;
|
||||
} else if (nmode==3) {
|
||||
bmode = SDL_BLENDMODE_MOD;
|
||||
} else {
|
||||
/* Should be impossible, but some static checkers are too imprecise and will complain */
|
||||
SDLTest_LogError("Invalid: nmode=%d", nmode);
|
||||
return;
|
||||
}
|
||||
ret = SDL_SetSurfaceBlendMode( face, bmode );
|
||||
if (ret != 0) checkFailCount4++;
|
||||
|
||||
Reference in New Issue
Block a user