Subversion Repository Public Repository

Divide-Framework

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

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

Diff revisions: vs.
  @@ -89,7 +89,7 @@
89 89 #ifdef _DEBUG
90 90 if (_previewReflection) {
91 91 F32 height = _resolution.y * 0.333f;
92 - _reflectedTexture->Bind(static_cast<U8>(ShaderProgram::TextureUsage::UNIT0));
92 + _reflectedTexture->Bind(to_ubyte(ShaderProgram::TextureUsage::UNIT0));
93 93 GFX::ScopedViewport viewport(0,
94 94 to_int(GFX_DEVICE.getRenderTarget(GFXDevice::RenderTarget::SCREEN)->getResolution().y - height),
95 95 to_int(_resolution.x * 0.333f),