mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- fixed bad comparison.
This commit is contained in:
parent
360e7d17f2
commit
e813ddf251
1 changed files with 1 additions and 1 deletions
|
@ -1009,7 +1009,7 @@ int FMaterial::GetAreas(FloatRect **pAreas) const
|
|||
|
||||
void FMaterial::BindToFrameBuffer()
|
||||
{
|
||||
if (mBaseLayer->gltexture == NULL)
|
||||
if (mBaseLayer->gltexture[0] == NULL)
|
||||
{
|
||||
// must create the hardware texture first
|
||||
mBaseLayer->Bind(0, CM_DEFAULT, 0, 0, NULL, 0);
|
||||
|
|
Loading…
Reference in a new issue