cleanup strays

handle clearing composite input textures
we no longer have a material value labeled emissive.
This commit is contained in:
AzaezelX 2025-05-16 10:54:00 -05:00
parent e2faa8c49c
commit 37f28dfbd7
3 changed files with 2 additions and 4 deletions

View file

@ -80,9 +80,7 @@ bool GFXTexHandle::set(const String &texNameR, const String &texNameG, const Str
// Clear the existing texture first, so that
// its memory is free for the new allocation.
free();
// Create and set the new texture.
AssertFatal( texNameR.isNotEmpty(), "Texture name is empty" );
StrongObjectRef::set( TEXMGR->createCompositeTexture( texNameR, texNameG, texNameB, texNameA, inputKey, profile ) );
#ifdef TORQUE_DEBUG