Stop a compiler warning on newer Mac OS X SDKs. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Fri, 04 Nov 2011 17:42:54 -0400
branchSDL-1.2
changeset 6055 90167a588fd4
parent 6050 e77741114d13
child 6056 c6041c61f9a6
Stop a compiler warning on newer Mac OS X SDKs.
src/video/quartz/SDL_QuartzVideo.m
--- a/src/video/quartz/SDL_QuartzVideo.m	Fri Nov 04 00:58:24 2011 -0400
+++ b/src/video/quartz/SDL_QuartzVideo.m	Fri Nov 04 17:42:54 2011 -0400
@@ -930,7 +930,7 @@
     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: