Merge pull request #1100 from JeffProgrammer/glslShadergenDefineFix

Fixed define bug for OpenGL shadergen.
This commit is contained in:
Luis Anton Rebollo 2015-02-07 22:46:13 +01:00
commit d90baad6fa

View file

@ -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);
stream.write( dStrlen((char*)output), output );
continue;
}
if( deprecatedDefines.contains((char*)var->name))