Skip to content

Commit 96f753a

Browse files
committedDec 7, 2013
Fix paralax occlusion setting
1 parent e156810 commit 96f753a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/game.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ class GameGlobalShaderConstantSetter : public IShaderConstantSetter
821821
services->setPixelShaderConstant("enableBumpmapping", &enable_bumpmapping, 1);
822822

823823
float enable_parallax_occlusion = 0;
824-
if (g_settings->getBool("enable_parallax_occlusion"));{
824+
if (g_settings->getBool("enable_parallax_occlusion")) {
825825
enable_parallax_occlusion = 1;
826826
float parallax_occlusion_scale = g_settings->getFloat("parallax_occlusion_scale");
827827
services->setPixelShaderConstant("parallaxOcclusionScale", &parallax_occlusion_scale, 1);

0 commit comments

Comments
 (0)
Please sign in to comment.