ソースを参照

Merge branch 'master' of github.com:bkaradzic/bgfx

bkaradzic 12 年 前
コミット
d89801a407
1 ファイル変更1 行追加1 行削除
  1. 1 1
      examples/14-shadowvolumes/shadowvolumes.cpp

+ 1 - 1
examples/14-shadowvolumes/shadowvolumes.cpp

@@ -2443,7 +2443,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
 				++stateStep;
 				if (stateStep >= ( (stateChange & ~0x1) >> 1) )
 				{
-					currentDirection = (++currentDirection) & directionMask;
+					currentDirection = (currentDirection + 1) & directionMask;
 					stateStep = 0;
 					++stateChange;
 				}