From 54339a826e460c2371f946224cca4db8482d8f5b Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Tue, 18 Sep 2012 02:01:09 +0000 Subject: Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@5577 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/utils/win/SkWGL_win.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils') 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], -- cgit v1.2.3