# HG changeset patch # User nplourde # Date 1118854483 0 # Node ID caa1d0aeffd5bb6af48cfbf188a96e2978c14c22 # Parent dfe70cdbb699a0e38d73b0b8808a5b039362b388 device_id flag force fullscreen device diff -r dfe70cdbb699 -r caa1d0aeffd5 libvo/vo_macosx.m --- a/libvo/vo_macosx.m Wed Jun 15 14:55:08 2005 +0000 +++ b/libvo/vo_macosx.m Wed Jun 15 16:54:43 2005 +0000 @@ -27,11 +27,12 @@ NSAutoreleasePool *autoreleasepool; OSType pixelFormat; -//Device -static int device_width; -static int device_height; -static int device_id; -static GDHandle device_handle; +//Screen +int screen_id; +BOOL screen_force; +NSRect screen_frame; +NSScreen *screen_handle; +NSArray *screen_array; //image unsigned char *image_data; @@ -86,27 +87,22 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) { int i; - - //Get Main device info/////////////////////////////////////////////////// - device_handle = GetMainDevice(); - - for(i=0; i