mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-28 14:42:23 +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()
|
void FMaterial::BindToFrameBuffer()
|
||||||
{
|
{
|
||||||
if (mBaseLayer->gltexture == NULL)
|
if (mBaseLayer->gltexture[0] == NULL)
|
||||||
{
|
{
|
||||||
// must create the hardware texture first
|
// must create the hardware texture first
|
||||||
mBaseLayer->Bind(0, CM_DEFAULT, 0, 0, NULL, 0);
|
mBaseLayer->Bind(0, CM_DEFAULT, 0, 0, NULL, 0);
|
||||||
|
|
Loading…
Reference in a new issue