Index: src/views/win/SkOSWindow_win.cpp |
diff --git a/src/views/win/SkOSWindow_win.cpp b/src/views/win/SkOSWindow_win.cpp |
index e4609fb4103c6030d31b6e9683933beaa1942aed..2fb91554eed30f63d55db459d70842f31a1bb350 100644 |
--- a/src/views/win/SkOSWindow_win.cpp |
+++ b/src/views/win/SkOSWindow_win.cpp |
@@ -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; |
} |