From b7ea0dcf7b74cbc885e009e101cd97b7a2b86595 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 7 Nov 2000 18:15:43 +0000 Subject: [PATCH] small ws cleanups --- source/vid_mgl.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/vid_mgl.c b/source/vid_mgl.c index 8c68edd..4f46017 100644 --- a/source/vid_mgl.c +++ b/source/vid_mgl.c @@ -263,19 +263,19 @@ qboolean VID_CheckAdequateMem (int width, int height) /* -================ -VID_AllocBuffers -================ + + VID_AllocBuffers + */ qboolean VID_AllocBuffers (int width, int height) { - int zbuffersize, cachesize; + int zbuffersize, cachesize; // Calculate the sizes we want first - zbuffersize = width * height * sizeof (*d_pzbuffer); - cachesize = D_SurfaceCacheForRes(width, height); + zbuffersize = width * height * sizeof (*d_pzbuffer); + cachesize = D_SurfaceCacheForRes(width, height); // Free the old z-buffer if (d_pzbuffer) { @@ -306,7 +306,7 @@ VID_AllocBuffers (int width, int height) d_pzbuffer = NULL; Sys_Error ("Not enough memory for video mode\n"); } - vid_surfcachesize = cachesize; + vid_surfcachesize = cachesize; return true; }