git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12219
d7cf8633-e32d-0410-b094-
e92efae38249
// forward-referenced functions
static void IN_StartupMouse (void);
// forward-referenced functions
static void IN_StartupMouse (void);
-static void AdjustWindowBounds(int fullscreen, int &width, int &height, viddef_mode_t *mode, DWORD WindowStyle, RECT &rect);
+static void AdjustWindowBounds(int fullscreen, int *width, int *height, viddef_mode_t *mode, DWORD WindowStyle, RECT &rect);
//====================================
//====================================
- AdjustWindowBounds(fullscreen, width, height, mode, WindowStyle, rect);
+ AdjustWindowBounds(fullscreen, &width, &height, mode, WindowStyle, rect);
pixelformat = 0;
newpixelformat = 0;
pixelformat = 0;
newpixelformat = 0;
-static void AdjustWindowBounds(int fullscreen, int &width, int &height, viddef_mode_t *mode, DWORD WindowStyle, RECT &rect)
+static void AdjustWindowBounds(int fullscreen, int *width, int *height, viddef_mode_t *mode, DWORD WindowStyle, RECT &rect)
- AdjustWindowBounds(fullscreen, width, height, mode, WindowStyle, rect);
+ AdjustWindowBounds(fullscreen, &width, &height, mode, WindowStyle, rect);
gl_extensions = "";
gl_platformextensions = "";
gl_extensions = "";
gl_platformextensions = "";
- AdjustWindowBounds(fullscreen, width, height, mode, WindowStyle, rect);
+ AdjustWindowBounds(fullscreen, &width, &height, mode, WindowStyle, rect);
pixelformat = 0;
newpixelformat = 0;
pixelformat = 0;
newpixelformat = 0;