src/video/quartz/SDL_QuartzVideo.m
changeset 1545 8d9bb0cf2c2a
parent 1487 dc6b59e925a2
child 1629 ef4a796e7f24
--- a/src/video/quartz/SDL_QuartzVideo.m	Wed Mar 15 15:47:49 2006 +0000
+++ b/src/video/quartz/SDL_QuartzVideo.m	Wed Mar 15 17:46:41 2006 +0000
@@ -200,6 +200,11 @@
     CFNumberGetValue (CFDictionaryGetValue (save_mode, kCGDisplayHeight),
                       kCFNumberSInt32Type, &device_height);
 
+    /* Determine the current screen size */
+    this->info.current_w = device_width;
+    this->info.current_h = device_height;
+
+    /* Determine the default screen depth */
     video_format->BitsPerPixel = device_bpp;
 
     /* Set misc globals */