OGL: simplify AA modes initialization

This commit is contained in:
Tillmann Karras 2015-10-10 16:47:58 +02:00
parent df20326d45
commit 99228633c3
1 changed files with 1 additions and 2 deletions

View File

@ -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("");