- fixed bad comparison.

This commit is contained in:
Christoph Oelckers 2014-05-24 16:47:34 +02:00
parent 360e7d17f2
commit e813ddf251
1 changed files with 1 additions and 1 deletions

View File

@ -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);