mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-19 06:33:49 +00:00
Release memory
This commit is contained in:
parent
3c0a251f71
commit
e46e744dc7
1 changed files with 1 additions and 0 deletions
|
|
@ -200,6 +200,7 @@ void ShaderGen::generateShader( const MaterialFeatureData &featureData,
|
|||
if(!s->open(pixShaderName, Torque::FS::File::Write ))
|
||||
{
|
||||
AssertFatal(false, "Failed to open Shader Stream" );
|
||||
delete s;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue