From fb938177826d468ab20c1cbe9be52bd99257a68c Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 4 Nov 2011 17:42:54 -0400 Subject: [PATCH] Stop a compiler warning on newer Mac OS X SDKs. --HG-- branch : SDL-1.2 --- src/video/quartz/SDL_QuartzVideo.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/quartz/SDL_QuartzVideo.m b/src/video/quartz/SDL_QuartzVideo.m index 186302a46..70b51dca5 100644 --- a/src/video/quartz/SDL_QuartzVideo.m +++ b/src/video/quartz/SDL_QuartzVideo.m @@ -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: