mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
dedicated server nulltexturemanager work
also supress warning for imageassets not loading a texture in nulldevice, and early out of _determineFeatures shadergen methods under the same conditions
This commit is contained in:
parent
02aee76fc9
commit
04f4a5fcf4
4 changed files with 17 additions and 3 deletions
|
|
@ -295,6 +295,7 @@ void ProcessedShaderMaterial::_determineFeatures( U32 stageNum,
|
|||
MaterialFeatureData &fd,
|
||||
const FeatureSet &features )
|
||||
{
|
||||
if (GFX->getAdapterType() == NullDevice) return;
|
||||
PROFILE_SCOPE( ProcessedShaderMaterial_DetermineFeatures );
|
||||
|
||||
const F32 shaderVersion = GFX->getPixelShaderVersion();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue