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:
parent
a3434d83cf
commit
1512029900
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user