Browse Source

Fix build of plSurface.

Darryl Pogue 13 years ago
parent
commit
2073aec611
  1. 4
      Sources/Plasma/PubUtilLib/plSurface/plGrassShaderMod.cpp

4
Sources/Plasma/PubUtilLib/plSurface/plGrassShaderMod.cpp

@ -218,7 +218,7 @@ hsBool plGrassShaderMod::IEval(double secs, hsScalar del, UInt32 dirty)
fVShader->SetVector(plGrassVS::kAppConsts, float(hsTimer::GetSysSeconds()), 0.f, 0.f, 0.f);
}
return TRUE;
return true;
}
void plGrassShaderMod::ISetupShaders()
@ -272,4 +272,4 @@ void plGrassShaderMod::ISetupShaders()
plLayRefMsg* refMsg = TRACKED_NEW plLayRefMsg(layer->GetKey(), plRefMsg::kOnCreate, 0, plLayRefMsg::kPixelShader);
hsgResMgr::ResMgr()->SendRef(fPShader->GetKey(), refMsg, plRefFlags::kActiveRef);
}
}
}

Loading…
Cancel
Save