Whitespace.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2001-11-02 06:35:32 +00:00
parent a98c5bb4c1
commit c19c237e0e
3 changed files with 10 additions and 12 deletions

View file

@ -58,18 +58,18 @@ HWND mainwindow;
// static float oldin_grab = 0;
int modestate; // FIXME: just to avoid cross-compile errors - remove later
// The original defaults
#define BASEWIDTH 320
#define BASEHEIGHT 200
int VGA_width, VGA_height, VGA_rowbytes, VGA_bufferrowbytes = 0;
byte *VGA_pagebase;
int VGA_width, VGA_height, VGA_rowbytes, VGA_bufferrowbytes = 0;
static SDL_Surface *screen = NULL;
void
VID_SetPalette (unsigned char *palette)
{
@ -137,8 +137,8 @@ VID_Init (unsigned char *palette)
// FIXME: EVIL thing - but needed for win32 until
// SDL_sound works better - without this DirectSound fails.
// SDL_GetWMInfo(&info);
// mainwindow=info.window;
// SDL_GetWMInfo(&info);
// mainwindow=info.window;
mainwindow=GetActiveWindow();
#endif

View file

@ -67,12 +67,11 @@ int modestate; // FIXME: just to avoid cross-compile errors - remove later
#define BASEWIDTH 320
#define BASEHEIGHT 200
int VGA_width, VGA_height, VGA_rowbytes, VGA_bufferrowbytes = 0;
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 *screen = NULL;
void

View file

@ -64,12 +64,12 @@ HWND mainwindow;
#define WARP_WIDTH 320
#define WARP_HEIGHT 200
int VID_options_items = 1;
int modestate;
static SDL_Surface *screen = NULL;
void
VID_SDL_GammaCheck (void)
{
@ -172,8 +172,7 @@ VID_Init (unsigned char *palette)
// Don't annoy Mesa/3dfx folks
#ifndef WIN32
// FIXME: Maybe this could be put in a different spot, but I don't
// know where.
// Anyway, it's to work around a 3Dfx Glide bug.
// know where. Anyway, it's to work around a 3Dfx Glide bug.
SDL_ShowCursor (0);
SDL_WM_GrabInput (SDL_GRAB_ON);
setenv ("MESA_GLX_FX", "fullscreen", 1);
@ -223,8 +222,8 @@ VID_Init (unsigned char *palette)
// FIXME: EVIL thing - but needed for win32 until
// SDL_sound works better - without this DirectSound fails.
// SDL_GetWMInfo(&info);
// mainwindow=info.window;
// SDL_GetWMInfo(&info);
// mainwindow=info.window;
mainwindow=GetActiveWindow();
#endif