diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-30 14:00:55 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-30 14:00:55 +0400 |
commit | 281f50cfcc644148366d58362403d83efeefb62f (patch) | |
tree | ff3b6c3942ffef378d7b5120ae88be4c84917da2 | |
parent | d113fd8ab70a7df22a4ec4c26fce7a68aa98fb1a (diff) |
Fix visual studio debug build issue with BVH boundbox, pointed out by Agustin Benavidez.
-rw-r--r-- | intern/cycles/util/util_boundbox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_boundbox.h b/intern/cycles/util/util_boundbox.h index 9511b48e103..b35c4c12bb8 100644 --- a/intern/cycles/util/util_boundbox.h +++ b/intern/cycles/util/util_boundbox.h @@ -50,7 +50,7 @@ public: { } - static struct empty_t {} empty; + enum empty_t { empty = 0}; __forceinline BoundBox(empty_t) : min(make_float3(FLT_MAX, FLT_MAX, FLT_MAX)), max(make_float3(-FLT_MAX, -FLT_MAX, -FLT_MAX)) |