Fixed compilation errors and bugs

Former-commit-id: f09f4135cafa7601b217b11b0ebda74789629b6e
This commit is contained in:
Lynix
2013-07-09 23:54:30 +02:00
parent 18cc3b16df
commit 380b65814a
3 changed files with 13 additions and 14 deletions

View File

@@ -1271,7 +1271,7 @@ bool NzRenderer::EnsureStateUpdate()
location = shaderImpl->GetUniformLocation(nzShaderUniform_TargetSize);
if (location != -1)
shaderImpl->SendVector(location, 1.f/NzVector2f(s_targetSize));
shaderImpl->SendVector(location, NzVector2f(s_targetSize));
s_uniformTargetSizeUpdated = true;
}