Skip to content
Permalink
Browse files

Stop a compiler warning on newer Mac OS X SDKs.

  • Loading branch information
icculus committed Nov 4, 2011
1 parent 704dcf7 commit dc977f8ddfa51632159119034beaa6b55efbe5c9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/quartz/SDL_QuartzVideo.m
@@ -930,7 +930,7 @@ other blitting while waiting on the VBL (and hence results in higher framerates)
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:

0 comments on commit dc977f8

Please sign in to comment.