aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/win
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-07 15:04:18 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-07 15:04:18 +0000
commitaa99c9e85fb5b27e3373cf4fd72bf7e47b37a2ec (patch)
treea7987450568c302dd248a31e0d3e37addfcf0089 /src/utils/win
parentc7a67cb57e43f8e140c7bd21318b5ad3e2db6b2f (diff)
use std qsort instead of our (now gone) version
git-svn-id: http://skia.googlecode.com/svn/trunk@3847 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/utils/win')
-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 baff735cd6..e06c6e42f2 100644
--- a/src/utils/win/SkWGL_win.cpp
+++ b/src/utils/win/SkWGL_win.cpp
@@ -133,10 +133,10 @@ int SkWGLExtensions::selectFormat(const int formats[],
rankedFormats[i].fColorSamples = answers[supportsCoverage ? 1 : 0];
rankedFormats[i].fChoosePixelFormatRank = i;
}
- SkQSort(rankedFormats.begin(),
+ qsort(rankedFormats.begin(),
rankedFormats.count(),
sizeof(PixelFormat),
- (SkQSortCompareProc)compare_pf);
+ SkCastForQSort(compare_pf));
int idx = SkTSearch<PixelFormat>(rankedFormats.begin(),
rankedFormats.count(),
desiredFormat,