]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Add r_viewfbo to the menu, and allow it to be used like in Xonotic
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 2 Jan 2012 14:38:11 +0000 (16:38 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 2 Jan 2012 14:38:11 +0000 (16:38 +0200)
data/qcsrc/menu/voret/dialog_settings_effects.c

index 81593139604dbc7a668e3a9b94f0792a14e4243f..0147021f89a6c846087f7aee268deb77d24d05cc 100644 (file)
@@ -64,6 +64,10 @@ void fillVoretEffectsSettingsTab(entity me)
                        e.addValue(e, "2x", "2");\r
                        e.addValue(e, "4x", "4");\r
                        e.configureVoretTextSliderValues(e);\r
+                       setDependent(e, "r_viewfbo", 0, 0);\r
+       me.TR(me);\r
+               me.TD(me, 1, 3, e = makeVoretCheckBoxEx(2, 0, "r_viewfbo", _("High-quality frame buffer")));\r
+                       setDependent(e, "vid_samples", 1, 1);\r
        me.TR(me);\r
        me.TR(me);\r
                me.TD(me, 1, 1, e = makeVoretTextLabel(0, "Texture quality:"));\r