mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-27 18:43:48 +00:00
Merge branch 'development' of https://github.com/GarageGames/Torque3D into memberMess
# Conflicts: # Engine/source/console/consoleFunctions.cpp
This commit is contained in:
commit
cbce2ee805
154 changed files with 2950 additions and 705 deletions
|
|
@ -142,7 +142,7 @@ void AppVertConnectorGLSL::sortVars()
|
|||
|
||||
void AppVertConnectorGLSL::setName( char *newName )
|
||||
{
|
||||
dStrcpy( (char*)mName, newName );
|
||||
dStrcpy( (char*)mName, newName, 32 );
|
||||
}
|
||||
|
||||
void AppVertConnectorGLSL::reset()
|
||||
|
|
@ -287,7 +287,7 @@ void VertPixelConnectorGLSL::sortVars()
|
|||
|
||||
void VertPixelConnectorGLSL::setName( char *newName )
|
||||
{
|
||||
dStrcpy( (char*)mName, newName );
|
||||
dStrcpy( (char*)mName, newName, 32 );
|
||||
}
|
||||
|
||||
void VertPixelConnectorGLSL::reset()
|
||||
|
|
|
|||
|
|
@ -232,7 +232,7 @@ void ShaderConnectorHLSL::sortVars()
|
|||
|
||||
void ShaderConnectorHLSL::setName( char *newName )
|
||||
{
|
||||
dStrcpy( (char*)mName, newName );
|
||||
dStrcpy( (char*)mName, newName, 32 );
|
||||
}
|
||||
|
||||
void ShaderConnectorHLSL::reset()
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ U32 Var::texUnitCount = 0;
|
|||
|
||||
Var::Var()
|
||||
{
|
||||
dStrcpy( (char*)type, "float4" );
|
||||
dStrcpy( (char*)type, "float4", 32 );
|
||||
structName[0] = '\0';
|
||||
connectName[0] = '\0';
|
||||
constSortPos = cspUninit;
|
||||
|
|
@ -209,4 +209,4 @@ void MultiLine::print( Stream &stream )
|
|||
{
|
||||
mStatementList[i]->print( stream );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -153,8 +153,8 @@ void ShaderGen::generateShader( const MaterialFeatureData &featureData,
|
|||
dSprintf( vertShaderName, sizeof(vertShaderName), "shadergen:/%s_V.%s", cacheName, mFileEnding.c_str() );
|
||||
dSprintf( pixShaderName, sizeof(pixShaderName), "shadergen:/%s_P.%s", cacheName, mFileEnding.c_str() );
|
||||
|
||||
dStrcpy( vertFile, vertShaderName );
|
||||
dStrcpy( pixFile, pixShaderName );
|
||||
dStrcpy( vertFile, vertShaderName, 256 );
|
||||
dStrcpy( pixFile, pixShaderName, 256 );
|
||||
|
||||
// this needs to change - need to optimize down to ps v.1.1
|
||||
*pixVersion = GFX->getPixelShaderVersion();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue