mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 20:40:35 +00:00
adresses C4189 warnings ('identifier' : local variable is initialized but not referenced)
This commit is contained in:
parent
5fa8504568
commit
76fe7937ce
8 changed files with 8 additions and 51 deletions
|
|
@ -2798,18 +2798,4 @@ void ImposterVertFeatureGLSL::determineFeature( Material *material,
|
|||
{
|
||||
if ( features.hasFeature( MFT_ImposterVert ) )
|
||||
outFeatureData->features.addFeature( MFT_ImposterVert );
|
||||
}
|
||||
|
||||
//****************************************************************************
|
||||
// Vertex position
|
||||
//****************************************************************************
|
||||
void DeferredSkyGLSL::processVert( Vector<ShaderComponent*> &componentList,
|
||||
const MaterialFeatureData &fd )
|
||||
{
|
||||
Var *outPosition = (Var*)LangElement::find( "gl_Position" );
|
||||
MultiLine *meta = new MultiLine;
|
||||
//meta->addStatement( new GenOp( " @.w = @.z;\r\n", outPosition, outPosition ) );
|
||||
|
||||
output = meta;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue