Stop a compiler warning on newer Mac OS X SDKs.

--HG--
branch : SDL-1.2
This commit is contained in:
Ryan C. Gordon
2011-11-04 17:42:54 -04:00
parent d9fc5c6572
commit fb93817782

View File

@@ -930,7 +930,7 @@ static SDL_Surface* QZ_SetVideoFullScreen (_THIS, SDL_Surface *current, int widt
return current;
/* Since the blanking window covers *all* windows (even force quit) correct recovery is crucial */
ERR_NO_GL:
ERR_NO_GL: goto ERR_DOUBLEBUF; /* this goto is to stop a compiler warning on newer SDKs. */
ERR_DOUBLEBUF: QZ_RestoreDisplayMode(this);
ERR_NO_SWITCH: CGReleaseAllDisplays ();
ERR_NO_CAPTURE: