mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-03 06:20:57 +00:00
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:
parent
f1c6595996
commit
bd354f4159
1 changed files with 4 additions and 1 deletions
|
@ -47,11 +47,14 @@ NSString *FQPrefScreenModeKey = @"ScreenMode";
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id)init {
|
- (id)init {
|
||||||
int i,j;
|
int i;
|
||||||
|
#ifndef USE_SDL2
|
||||||
|
int j;
|
||||||
int flags;
|
int flags;
|
||||||
int bpps[3] = {32, 24, 16};
|
int bpps[3] = {32, 24, 16};
|
||||||
SDL_PixelFormat format;
|
SDL_PixelFormat format;
|
||||||
SDL_Rect **modes;
|
SDL_Rect **modes;
|
||||||
|
#endif
|
||||||
ScreenInfo *info;
|
ScreenInfo *info;
|
||||||
|
|
||||||
self = [super init];
|
self = [super init];
|
||||||
|
|
Loading…
Reference in a new issue