mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-14 04:03:46 +00:00
Compilation fixes for C++20
This commit is contained in:
parent
e16351605b
commit
1940becb2d
40 changed files with 220 additions and 211 deletions
|
|
@ -140,7 +140,7 @@ void AppVertConnectorGLSL::sortVars()
|
|||
// Not required in GLSL
|
||||
}
|
||||
|
||||
void AppVertConnectorGLSL::setName( char *newName )
|
||||
void AppVertConnectorGLSL::setName( const char *newName )
|
||||
{
|
||||
dStrcpy( (char*)mName, newName, 32 );
|
||||
}
|
||||
|
|
@ -285,7 +285,7 @@ void VertPixelConnectorGLSL::sortVars()
|
|||
// Not needed in GLSL
|
||||
}
|
||||
|
||||
void VertPixelConnectorGLSL::setName( char *newName )
|
||||
void VertPixelConnectorGLSL::setName( const char *newName )
|
||||
{
|
||||
dStrcpy( (char*)mName, newName, 32 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue