Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 444 vs 445 for /trunk/Source Code/Rendering/RenderPass/Reflector.cpp

Diff revisions: vs.
  @@ -91,7 +91,7 @@
91 91 F32 height = _resolution.y * 0.333f;
92 92 _reflectedTexture->Bind(static_cast<U8>(ShaderProgram::TextureUsage::UNIT0));
93 93 GFX::ScopedViewport viewport(0,
94 - to_int(Application::getInstance().getResolution().y - height),
94 + to_int(GFX_DEVICE.getRenderTarget(GFXDevice::RenderTarget::SCREEN)->getResolution().y - height),
95 95 to_int(_resolution.x * 0.333f),
96 96 to_int(height));
97 97 GFX_DEVICE.drawPoints(1, GFX_DEVICE.getDefaultStateBlock(true), _previewReflectionShader);