From 7ab04792c501fcc605eff92d79eab5a66707e28f Mon Sep 17 00:00:00 2001 From: planetmaker Date: Tue, 21 Dec 2010 15:56:02 +0000 Subject: (svn r21574) -Codechange: [OSX] Move the variable declaration of the screen drivers to the generic class, deduplicating code --- src/video/cocoa/fullscreen.mm | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/video/cocoa/fullscreen.mm') diff --git a/src/video/cocoa/fullscreen.mm b/src/video/cocoa/fullscreen.mm index 9816176eb..e41849c70 100644 --- a/src/video/cocoa/fullscreen.mm +++ b/src/video/cocoa/fullscreen.mm @@ -149,22 +149,11 @@ bool QZ_CanDisplay8bpp() } class FullscreenSubdriver: public CocoaSubdriver { - int device_width; - int device_height; - int device_depth; - int window_pitch; - void *window_buffer; - void *pixel_buffer; - CGDirectDisplayID display_id; ///< 0 == main display (only support single display) CFDictionaryRef cur_mode; ///< current mode of the display CFDictionaryRef save_mode; ///< original mode of the display CGDirectPaletteRef palette; ///< palette of an 8-bit display - #define MAX_DIRTY_RECTS 100 - Rect dirty_rects[MAX_DIRTY_RECTS]; - int num_dirty_rects; - /* Gamma functions to try to hide the flash from a res switch * Fade the display from normal to black -- cgit v1.2.3-54-g00ecf