Quartz: minor deprecated function cleanups.
--HG-- branch : SDL-1.2
This commit is contained in:
parent
0a7ca2e800
commit
51cf4a651a
1 changed files with 10 additions and 6 deletions
|
@ -842,7 +842,10 @@ static SDL_Surface* QZ_SetVideoFullScreen (_THIS, SDL_Surface *current, int widt
|
||||||
[ gl_context setView: window_view ];
|
[ gl_context setView: window_view ];
|
||||||
[ gl_context setFullScreen ];
|
[ gl_context setFullScreen ];
|
||||||
[ gl_context update ];
|
[ gl_context update ];
|
||||||
} else {
|
}
|
||||||
|
|
||||||
|
#if (MAC_OS_X_VERSION_MIN_REQUIRED < 1070)
|
||||||
|
if ( !isLion ) {
|
||||||
CGLError err;
|
CGLError err;
|
||||||
CGLContextObj ctx;
|
CGLContextObj ctx;
|
||||||
|
|
||||||
|
@ -855,6 +858,7 @@ static SDL_Surface* QZ_SetVideoFullScreen (_THIS, SDL_Surface *current, int widt
|
||||||
goto ERR_NO_GL;
|
goto ERR_NO_GL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
[ window_view release ];
|
[ window_view release ];
|
||||||
[ gl_context makeCurrentContext];
|
[ gl_context makeCurrentContext];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue