mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-24 22:59:24 +00:00
Corrected FeatureSet::getNextFeatureIndex and ShaderFeature::getProcessIndex signed mismatch.
This commit is contained in:
parent
6a2d394d90
commit
36daca8d8e
4 changed files with 8 additions and 8 deletions
|
|
@ -170,7 +170,7 @@ void FeatureSet::removeFeature( const FeatureType &type )
|
|||
}
|
||||
}
|
||||
|
||||
U32 FeatureSet::getNextFeatureIndex( const FeatureType &type, S32 index ) const
|
||||
S32 FeatureSet::getNextFeatureIndex( const FeatureType &type, S32 index ) const
|
||||
{
|
||||
for ( U32 i=0; i < mFeatures.size(); i++ )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ public:
|
|||
void removeFeature( const FeatureType &type );
|
||||
|
||||
///
|
||||
U32 getNextFeatureIndex( const FeatureType &type, S32 index ) const;
|
||||
S32 getNextFeatureIndex( const FeatureType &type, S32 index ) const;
|
||||
|
||||
/// Removes features that are not in the input set.
|
||||
void filter( const FeatureSet &features );
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ public:
|
|||
void setProcessIndex( S32 index ) { mProcessIndex = index; }
|
||||
|
||||
///
|
||||
U32 getProcessIndex() const { return mProcessIndex; }
|
||||
S32 getProcessIndex() const { return mProcessIndex; }
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
// Virtual Functions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue