mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Fixed type inference for nulls in console functions
This commit is contained in:
parent
733fd3ef6d
commit
88106f9032
17 changed files with 29 additions and 22 deletions
|
|
@ -178,7 +178,7 @@ void GFXShader::_unlinkBuffer( GFXShaderConstBuffer *buf )
|
|||
|
||||
|
||||
DefineEngineFunction( addGlobalShaderMacro, void,
|
||||
( const char *name, const char *value ), ( NULL ),
|
||||
( const char *name, const char *value ), ( nullAsType<const char*>() ),
|
||||
"Adds a global shader macro which will be merged with the script defined "
|
||||
"macros on every shader. The macro will replace the value of an existing "
|
||||
"macro of the same name. For the new macro to take effect all the shaders "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue