Browse Source

Minor fix.

Dario Manesku 12 years ago
parent
commit
d7b69b1ce9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/14-shadowvolumes/shadowvolumes.cpp

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

@@ -1497,7 +1497,7 @@ void shadowVolumeCreate(ShadowVolume& _shadowVolume
 				{
 					s = -s;
 				}
-				k += uint16_t(s);
+				k += int16_t(s);
 			}
 
 			if (k == 0)