mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Merge remote-tracking branch 'smally/platform_type_consistency' into platform-type-consistency
Conflicts: Engine/source/platform/platformCPUCount.cpp
This commit is contained in:
commit
87d9e245b7
210 changed files with 896 additions and 896 deletions
|
|
@ -103,7 +103,7 @@ GFXDevice::GFXDevice()
|
|||
mViewMatrix.identity();
|
||||
mProjectionMatrix.identity();
|
||||
|
||||
for( int i = 0; i < WORLD_STACK_MAX; i++ )
|
||||
for( S32 i = 0; i < WORLD_STACK_MAX; i++ )
|
||||
mWorldMatrix[i].identity();
|
||||
|
||||
AssertFatal(smGFXDevice == NULL, "Already a GFXDevice created! Bad!");
|
||||
|
|
@ -451,7 +451,7 @@ void GFXDevice::updateStates(bool forceSetAll /*=false*/)
|
|||
|
||||
if( mTextureMatrixCheckDirty )
|
||||
{
|
||||
for( int i = 0; i < getNumSamplers(); i++ )
|
||||
for( S32 i = 0; i < getNumSamplers(); i++ )
|
||||
{
|
||||
if( mTextureMatrixDirty[i] )
|
||||
{
|
||||
|
|
@ -1279,7 +1279,7 @@ DefineEngineFunction( getPixelShaderVersion, F32, (),,
|
|||
return GFX->getPixelShaderVersion();
|
||||
}
|
||||
|
||||
DefineEngineFunction( setPixelShaderVersion, void, ( float version ),,
|
||||
DefineEngineFunction( setPixelShaderVersion, void, ( F32 version ),,
|
||||
"@brief Sets the pixel shader version for the active device.\n"
|
||||
"This can be used to force a lower pixel shader version than is supported by "
|
||||
"the device for testing or performance optimization.\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue