mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 14:52:08 +00:00
I don't think we want to free vid.buffer under win32...
This commit is contained in:
parent
d1ec2e2cac
commit
6b52545fb0
1 changed files with 0 additions and 1 deletions
|
@ -295,7 +295,6 @@ VID_AllocBuffers (int width, int height)
|
||||||
// Allocate the new z-buffer
|
// Allocate the new z-buffer
|
||||||
d_pzbuffer = calloc (zbuffersize, 1);
|
d_pzbuffer = calloc (zbuffersize, 1);
|
||||||
if (!d_pzbuffer) {
|
if (!d_pzbuffer) {
|
||||||
free (vid.buffer);
|
|
||||||
Sys_Error ("Not enough memory for video mode\n");
|
Sys_Error ("Not enough memory for video mode\n");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue