comparison libvo/vo_directx.c @ 30653:3d23e24c5c60

Declare externally used variables from vd.c as extern in vd.h. This saves declaring them as extern all over the place.
author diego
date Mon, 22 Feb 2010 09:51:44 +0000
parents a33cf9c69731
children fbe5c829c69b
comparison
equal deleted inserted replaced
30652:a2dddda6eb2f 30653:3d23e24c5c60
29 #include "config.h" 29 #include "config.h"
30 #include "video_out.h" 30 #include "video_out.h"
31 #include "video_out_internal.h" 31 #include "video_out_internal.h"
32 #include "fastmemcpy.h" 32 #include "fastmemcpy.h"
33 #include "input/input.h" 33 #include "input/input.h"
34 #include "libmpcodecs/vd.h"
34 #include "osdep/keycodes.h" 35 #include "osdep/keycodes.h"
35 #include "input/mouse.h" 36 #include "input/mouse.h"
36 #include "mp_msg.h" 37 #include "mp_msg.h"
37 #include "aspect.h" 38 #include "aspect.h"
38 #include "geometry.h" 39 #include "geometry.h"
87 static GUID *selected_guid_ptr = NULL; 88 static GUID *selected_guid_ptr = NULL;
88 static RECT monitor_rect; //monitor coordinates 89 static RECT monitor_rect; //monitor coordinates
89 static float window_aspect; 90 static float window_aspect;
90 static BOOL (WINAPI* myGetMonitorInfo)(HMONITOR, LPMONITORINFO) = NULL; 91 static BOOL (WINAPI* myGetMonitorInfo)(HMONITOR, LPMONITORINFO) = NULL;
91 static RECT last_rect = {0xDEADC0DE, 0xDEADC0DE, 0xDEADC0DE, 0xDEADC0DE}; 92 static RECT last_rect = {0xDEADC0DE, 0xDEADC0DE, 0xDEADC0DE, 0xDEADC0DE};
92
93 extern int vidmode;
94 93
95 /***************************************************************************** 94 /*****************************************************************************
96 * DirectDraw GUIDs. 95 * DirectDraw GUIDs.
97 * Defining them here allows us to get rid of the dxguid library during 96 * Defining them here allows us to get rid of the dxguid library during
98 * the linking stage. 97 * the linking stage.