From c37cfa3b53c33adde106f3369d77a307671e5b82 Mon Sep 17 00:00:00 2001
From: Zanibar <nagachief12@gmail.com>
Date: Sat, 31 Dec 2022 11:17:56 -0600
Subject: [PATCH] Lightbox: Added SMAA Toggle to Anti-Aliasing option

---
 .../default/xui/en/floater_lightbox_settings.xml | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/indra/newview/skins/default/xui/en/floater_lightbox_settings.xml b/indra/newview/skins/default/xui/en/floater_lightbox_settings.xml
index c99753dc292..cf297a511a7 100644
--- a/indra/newview/skins/default/xui/en/floater_lightbox_settings.xml
+++ b/indra/newview/skins/default/xui/en/floater_lightbox_settings.xml
@@ -794,10 +794,20 @@
 					height="15"
 					left="10"
 					top_pad="4"
-					width="90"
+					width="75"
 					layout="topleft"
-					tool_tip="Controls SMAA Quality"
+					tool_tip="Controls Anti-Aliasing Quality"
 					value="Anti-Aliasing:" />
+				<check_box
+					follows="left|top"
+					height="15"
+					left="115"
+					top_pad="-14"
+					width="80"
+					layout="topleft"
+					label="Use SMAA"
+					tool_tip="Toggles using Subpixel Morphological AA instead of Fast Approximate AA. SMAA in most situations results in a less blurry image vs FXAA"
+					control_name="AlchemyRenderSMAA"/>
 				<combo_box
 					follows="top|left"
 					layout="topleft"
@@ -807,7 +817,7 @@
 					top_pad="-16"
 					max_chars="128"
 					allow_text_entry="false"
-					tool_tip="Controls SMAA Quality"
+					tool_tip="Controls Anti-Aliasing Quality"
 					control_name="RenderFSAASamples"
 					name="smaa_combo">
 					<combo_box.item
-- 
GitLab