Removed unused variable.

This commit is contained in:
Leonardo Zide 2019-11-12 15:13:47 -08:00
parent eed93e183d
commit 8cfddcefa3
2 changed files with 0 additions and 5 deletions

View file

@ -23,7 +23,6 @@ void lcScene::Begin(const lcMatrix44& ViewMatrix)
mOpaqueMeshes.RemoveAll();
mTranslucentMeshes.RemoveAll();
mInterfaceObjects.RemoveAll();
mHasTexture = false;
}
void lcScene::End()
@ -71,9 +70,6 @@ void lcScene::AddMesh(lcMesh* Mesh, const lcMatrix44& WorldMatrix, int ColorInde
if ((Flags & lcMeshFlag::HasTranslucent) || ((Flags & lcMeshFlag::HasDefault) && Translucent))
mTranslucentMeshes.Add(mRenderMeshes.GetSize() - 1);
if (Flags & lcMeshFlag::HasTexture)
mHasTexture = true;
}
void lcScene::DrawPass(lcContext* Context, lcRenderPass RenderPass, int PrimitiveTypes) const

View file

@ -72,5 +72,4 @@ protected:
lcArray<int> mOpaqueMeshes;
lcArray<int> mTranslucentMeshes;
lcArray<const lcObject*> mInterfaceObjects;
bool mHasTexture;
};