mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
Removed leftovers from QZDoom
This commit is contained in:
parent
1ec06463d9
commit
bb3fa15bed
2 changed files with 3 additions and 4 deletions
|
@ -54,7 +54,6 @@
|
||||||
CVAR(Bool, r_fogboundary, true, 0)
|
CVAR(Bool, r_fogboundary, true, 0)
|
||||||
CVAR(Bool, r_drawmirrors, true, 0)
|
CVAR(Bool, r_drawmirrors, true, 0)
|
||||||
EXTERN_CVAR(Bool, r_fullbrightignoresectorcolor);
|
EXTERN_CVAR(Bool, r_fullbrightignoresectorcolor);
|
||||||
EXTERN_CVAR(Bool, r_mipmap)
|
|
||||||
|
|
||||||
namespace swrenderer
|
namespace swrenderer
|
||||||
{
|
{
|
||||||
|
|
|
@ -3241,12 +3241,12 @@ void R_CheckOffscreenBuffer(int width, int height, bool spansonly)
|
||||||
{
|
{
|
||||||
if (OffscreenColorBuffer == NULL)
|
if (OffscreenColorBuffer == NULL)
|
||||||
{
|
{
|
||||||
OffscreenColorBuffer = new BYTE[width * height * 4];
|
OffscreenColorBuffer = new BYTE[width * height];
|
||||||
}
|
}
|
||||||
else if (OffscreenBufferWidth != width || OffscreenBufferHeight != height)
|
else if (OffscreenBufferWidth != width || OffscreenBufferHeight != height)
|
||||||
{
|
{
|
||||||
delete[] OffscreenColorBuffer;
|
delete[] OffscreenColorBuffer;
|
||||||
OffscreenColorBuffer = new BYTE[width * height * 4];
|
OffscreenColorBuffer = new BYTE[width * height];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
OffscreenBufferWidth = width;
|
OffscreenBufferWidth = width;
|
||||||
|
|
Loading…
Reference in a new issue