summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2020-11-09 16:54:04 -0800
committerPtolemy <ptolemy@lindenlab.com>2020-11-09 16:54:04 -0800
commitc865eda3b31a982c601889d8b2259c98032b25b5 (patch)
tree6e53069aa015479c377bac9793f50383ee6990c9 /indra/newview
parent8e455bf71bd8c8377d21f063c3d150ab0ff7a878 (diff)
SL-14275: Replace enum with S32 to better match reflection_detail
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/pipeline.cpp17
1 files changed, 7 insertions, 10 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index f9d510472d..623a109d2d 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -130,16 +130,13 @@
#define MATERIALS_IN_REFLECTIONS 0
// NOTE: Keep in sync with indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml
-enum EWaterReflectionMode
-{
- WATER_REFLECT_NONE_WATER_OPAQUE = -2,
- WATER_REFLECT_NONE_WATER_TRANSPARENT = -1,
- WATER_REFLECT_MINIMAL = 0,
- WATER_REFLECT_TERRAIN = 1,
- WATER_REFLECT_STATIC_OBJECTS = 2,
- WATER_REFLECT_AVATARS = 3,
- WATER_REFLECT_EVERYTHING = 4
-};
+const S32 WATER_REFLECT_NONE_WATER_OPAQUE = -2;
+const S32 WATER_REFLECT_NONE_WATER_TRANSPARENT = -1;
+const S32 WATER_REFLECT_MINIMAL = 0;
+const S32 WATER_REFLECT_TERRAIN = 1;
+const S32 WATER_REFLECT_STATIC_OBJECTS = 2;
+const S32 WATER_REFLECT_AVATARS = 3;
+const S32 WATER_REFLECT_EVERYTHING = 4;
bool gShiftFrame = false;