summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/main.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2015-10-10 16:47:58 +0200
committerTillmann Karras <tilkax@gmail.com>2015-10-10 22:51:31 +0200
commit99228633c3cb41f6c2472d9d2090837e4b3187d3 (patch)
treeeccc0106b100ab0ba04c3535ad1199ffa89af7db /Source/Core/VideoBackends/OGL/main.cpp
parentdf20326d45e2f82dac77a633cf7a326149b0d8d7 (diff)
OGL: simplify AA modes initialization
Diffstat (limited to 'Source/Core/VideoBackends/OGL/main.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/OGL/main.cpp b/Source/Core/VideoBackends/OGL/main.cpp
index 365004503b..6580116315 100644
--- a/Source/Core/VideoBackends/OGL/main.cpp
+++ b/Source/Core/VideoBackends/OGL/main.cpp
@@ -136,8 +136,7 @@ static void InitBackendInfo()
g_Config.backend_info.Adapters.clear();
// aamodes - 1 is to stay consistent with D3D (means no AA)
- const int aamodes[] = { 1, 2, 4, 8 };
- g_Config.backend_info.AAModes.assign(aamodes, aamodes + sizeof(aamodes)/sizeof(*aamodes));
+ g_Config.backend_info.AAModes = { 1, 2, 4, 8 };
// pp shaders
g_Config.backend_info.PPShaders = GetShaders("");