mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 14:42:07 +00:00
Whitespace.
This commit is contained in:
parent
a98c5bb4c1
commit
c19c237e0e
3 changed files with 10 additions and 12 deletions
|
@ -58,18 +58,18 @@ HWND mainwindow;
|
||||||
|
|
||||||
// static float oldin_grab = 0;
|
// static float oldin_grab = 0;
|
||||||
|
|
||||||
|
|
||||||
int modestate; // FIXME: just to avoid cross-compile errors - remove later
|
int modestate; // FIXME: just to avoid cross-compile errors - remove later
|
||||||
|
|
||||||
// The original defaults
|
// The original defaults
|
||||||
#define BASEWIDTH 320
|
#define BASEWIDTH 320
|
||||||
#define BASEHEIGHT 200
|
#define BASEHEIGHT 200
|
||||||
|
|
||||||
int VGA_width, VGA_height, VGA_rowbytes, VGA_bufferrowbytes = 0;
|
|
||||||
byte *VGA_pagebase;
|
byte *VGA_pagebase;
|
||||||
|
int VGA_width, VGA_height, VGA_rowbytes, VGA_bufferrowbytes = 0;
|
||||||
|
|
||||||
static SDL_Surface *screen = NULL;
|
static SDL_Surface *screen = NULL;
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
VID_SetPalette (unsigned char *palette)
|
VID_SetPalette (unsigned char *palette)
|
||||||
{
|
{
|
||||||
|
|
|
@ -67,12 +67,11 @@ int modestate; // FIXME: just to avoid cross-compile errors - remove later
|
||||||
#define BASEWIDTH 320
|
#define BASEWIDTH 320
|
||||||
#define BASEHEIGHT 200
|
#define BASEHEIGHT 200
|
||||||
|
|
||||||
int VGA_width, VGA_height, VGA_rowbytes, VGA_bufferrowbytes = 0;
|
|
||||||
byte *VGA_pagebase;
|
byte *VGA_pagebase;
|
||||||
|
int VGA_width, VGA_height, VGA_rowbytes, VGA_bufferrowbytes = 0;
|
||||||
|
|
||||||
static SDL_Surface *screen = NULL;
|
|
||||||
static SDL_Surface *rendersurface = NULL;
|
static SDL_Surface *rendersurface = NULL;
|
||||||
|
static SDL_Surface *screen = NULL;
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -64,12 +64,12 @@ HWND mainwindow;
|
||||||
#define WARP_WIDTH 320
|
#define WARP_WIDTH 320
|
||||||
#define WARP_HEIGHT 200
|
#define WARP_HEIGHT 200
|
||||||
|
|
||||||
|
|
||||||
int VID_options_items = 1;
|
int VID_options_items = 1;
|
||||||
int modestate;
|
int modestate;
|
||||||
|
|
||||||
static SDL_Surface *screen = NULL;
|
static SDL_Surface *screen = NULL;
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
VID_SDL_GammaCheck (void)
|
VID_SDL_GammaCheck (void)
|
||||||
{
|
{
|
||||||
|
@ -172,8 +172,7 @@ VID_Init (unsigned char *palette)
|
||||||
// Don't annoy Mesa/3dfx folks
|
// Don't annoy Mesa/3dfx folks
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
// FIXME: Maybe this could be put in a different spot, but I don't
|
// FIXME: Maybe this could be put in a different spot, but I don't
|
||||||
// know where.
|
// know where. Anyway, it's to work around a 3Dfx Glide bug.
|
||||||
// Anyway, it's to work around a 3Dfx Glide bug.
|
|
||||||
SDL_ShowCursor (0);
|
SDL_ShowCursor (0);
|
||||||
SDL_WM_GrabInput (SDL_GRAB_ON);
|
SDL_WM_GrabInput (SDL_GRAB_ON);
|
||||||
setenv ("MESA_GLX_FX", "fullscreen", 1);
|
setenv ("MESA_GLX_FX", "fullscreen", 1);
|
||||||
|
|
Loading…
Reference in a new issue