mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
Update shaderGen.cpp
move skipregen initialization
This commit is contained in:
parent
21534473c9
commit
4ceeb07ea0
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,6 @@ void ShaderGen::generateShader( const MaterialFeatureData& featureData,
|
|||
_uninit();
|
||||
_init();
|
||||
|
||||
bool skipRegen = !Con::getBoolVariable("ShaderGen::GenNewShaders", true);
|
||||
const FeatureSet& features = mFeatureData.features;
|
||||
U32 stages = 0;
|
||||
|
||||
|
|
@ -214,6 +213,7 @@ void ShaderGen::generateShader( const MaterialFeatureData& featureData,
|
|||
if (!(stages & stage))
|
||||
continue;
|
||||
|
||||
bool skipRegen = !Con::getBoolVariable("ShaderGen::GenNewShaders", true);
|
||||
GFXShaderStage curStage = (GFXShaderStage)stage;
|
||||
|
||||
char fileName[256];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue