Removed leftovers from QZDoom
This commit is contained in:
parent
9ac7a07be6
commit
2fea46a719
2 changed files with 3 additions and 4 deletions
|
|
@ -3241,12 +3241,12 @@ void R_CheckOffscreenBuffer(int width, int height, bool spansonly)
|
|||
{
|
||||
if (OffscreenColorBuffer == NULL)
|
||||
{
|
||||
OffscreenColorBuffer = new BYTE[width * height * 4];
|
||||
OffscreenColorBuffer = new BYTE[width * height];
|
||||
}
|
||||
else if (OffscreenBufferWidth != width || OffscreenBufferHeight != height)
|
||||
{
|
||||
delete[] OffscreenColorBuffer;
|
||||
OffscreenColorBuffer = new BYTE[width * height * 4];
|
||||
OffscreenColorBuffer = new BYTE[width * height];
|
||||
}
|
||||
}
|
||||
OffscreenBufferWidth = width;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue