skia: use msaaConfigAttribList for SkOSWindow_win

eglChooseConfig was still being passed configAttribList, pass
msaaConfigAttribList instead

Review URL: https://codereview.chromium.org/1318663007
This commit is contained in:
hendrikw 2015-09-08 05:53:23 -07:00 committed by Commit bot
parent a3434d83cf
commit 1512029900

View File

@ -451,7 +451,7 @@ bool create_ANGLE(EGLNativeWindowType hWnd,
msaaConfigAttribList[kConfigAttribListCnt + 1] = EGL_SAMPLES;
msaaConfigAttribList[kConfigAttribListCnt + 2] = msaaSampleCount;
msaaConfigAttribList[kConfigAttribListCnt + 3] = EGL_NONE;
if (eglChooseConfig(display, configAttribList, eglConfig, 1, &numConfigs)) {
if (eglChooseConfig(display, msaaConfigAttribList, eglConfig, 1, &numConfigs)) {
SkASSERT(numConfigs > 0);
foundConfig = true;
}