mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Merge pull request #1100 from JeffProgrammer/glslShadergenDefineFix
Fixed define bug for OpenGL shadergen.
This commit is contained in:
commit
d90baad6fa
1 changed files with 1 additions and 0 deletions
|
|
@ -405,6 +405,7 @@ void VertPixelConnectorGLSL::printStructDefines( Stream &stream, bool in )
|
||||||
{
|
{
|
||||||
dSprintf((char*)output, sizeof(output), "#define %s_%s _%s_\r\n", connectionDir, var->name, var->connectName);
|
dSprintf((char*)output, sizeof(output), "#define %s_%s _%s_\r\n", connectionDir, var->name, var->connectName);
|
||||||
stream.write( dStrlen((char*)output), output );
|
stream.write( dStrlen((char*)output), output );
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( deprecatedDefines.contains((char*)var->name))
|
if( deprecatedDefines.contains((char*)var->name))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue