diff --git a/components/settings/categories/video.hpp b/components/settings/categories/video.hpp index a91a6c8b03..fd6bb0018a 100644 --- a/components/settings/categories/video.hpp +++ b/components/settings/categories/video.hpp @@ -24,7 +24,7 @@ namespace Settings SettingValue mScreen{ mIndex, "Video", "screen", makeMaxSanitizerInt(0) }; SettingValue mMinimizeOnFocusLoss{ mIndex, "Video", "minimize on focus loss" }; SettingValue mWindowBorder{ mIndex, "Video", "window border" }; - SettingValue mAntialiasing{ mIndex, "Video", "antialiasing", makeEnumSanitizerInt({ 0, 2, 4, 8, 16 }) }; + SettingValue mAntialiasing{ mIndex, "Video", "antialiasing", makeMaxSanitizerInt(0) }; SettingValue mVsyncMode{ mIndex, "Video", "vsync mode", makeEnumSanitizerInt({ 0, 1, 2 }) }; SettingValue mFramerateLimit{ mIndex, "Video", "framerate limit", makeMaxSanitizerFloat(0) }; SettingValue mContrast{ mIndex, "Video", "contrast", makeMaxStrictSanitizerFloat(0) }; diff --git a/docs/source/reference/modding/settings/video.rst b/docs/source/reference/modding/settings/video.rst index 94fb54be18..4cb5ba1842 100644 --- a/docs/source/reference/modding/settings/video.rst +++ b/docs/source/reference/modding/settings/video.rst @@ -111,14 +111,14 @@ antialiasing ------------ :Type: integer -:Range: 0, 2, 4, 8, 16 +:Range: >= 0 :Default: 0 This setting controls anti-aliasing. Anti-aliasing is a technique designed to improve the appearance of polygon edges, so they do not appear to be "jagged". Anti-aliasing can smooth these edges at the cost of a minor reduction in the frame rate. A value of 0 disables anti-aliasing. -Other powers of two (e.g. 2, 4, 8, 16) are supported according to the capabilities of your graphics hardware. +Other values are supported according to the capabilities of your graphics hardware. Higher values do a better job of smoothing out the image but have a greater impact on frame rate. This setting can be configured from a list of valid choices in the Graphics panel of the OpenMW Launcher, diff --git a/files/settings-default.cfg b/files/settings-default.cfg index f615ab443d..8196766db1 100644 --- a/files/settings-default.cfg +++ b/files/settings-default.cfg @@ -624,7 +624,7 @@ minimize on focus loss = true # An operating system border is drawn around the OpenMW window. window border = true -# Anti-aliasing reduces jagged polygon edges. (0, 2, 4, 8, 16). +# Anti-aliasing reduces jagged polygon edges. (>=0). antialiasing = 0 # Vertical syncing to reduce tearing defects.