Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 167 vs 168 for /trunk/Source Code/Dynamics/Entities/Impostor.cpp

Diff revisions: vs.
  @@ -12,7 +12,7 @@
12 12 impostorDesc.setFlag(true); //No default material
13 13 _dummy = CreateResource<Sphere3D>(impostorDesc);
14 14 _dummy->setMaterial(CreateResource<Material>(materialDescriptor));
15 - if(GFX_DEVICE.getDeferredRendering()){
15 + if(GFX_DEVICE.getRenderer()->getType() != RENDERER_FORWARD){
16 16 _dummy->getMaterial()->setShaderProgram("DeferredShadingPass1.Impostor");
17 17 }else{
18 18 _dummy->getMaterial()->setShaderProgram("lighting");