aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/win/SkWGL_win.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/win/SkWGL_win.cpp')
-rw-r--r--src/utils/win/SkWGL_win.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/win/SkWGL_win.cpp b/src/utils/win/SkWGL_win.cpp
index 922ba286d8..48b270d079 100644
--- a/src/utils/win/SkWGL_win.cpp
+++ b/src/utils/win/SkWGL_win.cpp
@@ -122,8 +122,8 @@ int SkWGLExtensions::selectFormat(const int formats[],
SK_WGL_COLOR_SAMPLES,
};
int answers[2];
- int queryAttrCnt = supportsCoverage ?
- SK_ARRAY_COUNT(queryAttrs) :
+ int queryAttrCnt = supportsCoverage ?
+ SK_ARRAY_COUNT(queryAttrs) :
SK_ARRAY_COUNT(queryAttrs) - 1;
this->getPixelFormatAttribiv(dc,
formats[i],