Pārlūkot izejas kodu

Fixed VS2008 build.

bkaradzic 12 gadi atpakaļ
vecāks
revīzija
40c9aa78d8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      examples/14-shadowvolumes/shadowvolumes.cpp

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

@@ -841,7 +841,7 @@ struct Group
 
 
 	struct EdgeComparator
 	struct EdgeComparator
 	{
 	{
-		bool operator()(const f6_t& _a, const f6_t& _b)
+		bool operator()(const f6_t& _a, const f6_t& _b) const
 		{
 		{
 			const uint8_t t0 = 0
 			const uint8_t t0 = 0
 				| ( (_a.f[0] < _b.f[0]) << 5)
 				| ( (_a.f[0] < _b.f[0]) << 5)