Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 556 vs 557 for /trunk/Source Code/Core/Resources/ConcreteLoaders/WaterPlaneLoaderImpl.cpp

Diff revisions: vs.
  @@ -52,7 +52,7 @@
52 52 true);
53 53 waterMat->setShaderProgram("depthPass.PrePass", RenderStage::Z_PRE_PASS, true);
54 54
55 - size_t hash = waterMat->getRenderStateBlock(RenderStage::DISPLAY);
55 + U32 hash = waterMat->getRenderStateBlock(RenderStage::DISPLAY);
56 56 RenderStateBlock waterMatDesc(GFX_DEVICE.getRenderStateBlock(hash));
57 57 waterMatDesc.setCullMode(CullMode::NONE);
58 58 waterMat->setRenderStateBlock(waterMatDesc.getHash(), RenderStage::DISPLAY);