Oops... forgot to add "return false" - did it now.

This commit is contained in:
Dabb 2000-11-07 19:16:43 +00:00
parent b7ea0dcf7b
commit d1ec2e2cac

View file

@ -297,6 +297,7 @@ VID_AllocBuffers (int width, int height)
if (!d_pzbuffer) {
free (vid.buffer);
Sys_Error ("Not enough memory for video mode\n");
return false;
}
// Allocate the new surface cache; free the z-buffer if we fail
@ -305,6 +306,7 @@ VID_AllocBuffers (int width, int height)
free (d_pzbuffer);
d_pzbuffer = NULL;
Sys_Error ("Not enough memory for video mode\n");
return false;
}
vid_surfcachesize = cachesize;