MacOSX/AppController.m: fix unused warnings in SDL2 builds

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1514 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2017-10-02 20:11:04 +00:00
parent f1c6595996
commit bd354f4159

View file

@ -47,11 +47,14 @@ NSString *FQPrefScreenModeKey = @"ScreenMode";
}
- (id)init {
int i,j;
int i;
#ifndef USE_SDL2
int j;
int flags;
int bpps[3] = {32, 24, 16};
SDL_PixelFormat format;
SDL_Rect **modes;
#endif
ScreenInfo *info;
self = [super init];