src/video/quartz/SDL_QuartzVideo.m
changeset 876 9e84d106ec19
parent 852 2651b6b43840
child 934 af585d6efec8
--- a/src/video/quartz/SDL_QuartzVideo.m	Thu Mar 11 13:38:51 2004 +0000
+++ b/src/video/quartz/SDL_QuartzVideo.m	Mon Mar 22 09:38:20 2004 +0000
@@ -205,6 +205,9 @@
     cursor_visible              = YES;
     current_mods = 0;
     
+    if ( Gestalt(gestaltSystemVersion, &system_version) != noErr )
+        system_version = 0;
+
     /* register for sleep notifications so wake from sleep generates SDL_VIDEOEXPOSE */
     QZ_RegisterForSleepNotifications (this);