diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-07 15:04:18 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-07 15:04:18 +0000 |
commit | aa99c9e85fb5b27e3373cf4fd72bf7e47b37a2ec (patch) | |
tree | a7987450568c302dd248a31e0d3e37addfcf0089 /src/utils/win | |
parent | c7a67cb57e43f8e140c7bd21318b5ad3e2db6b2f (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.cpp | 4 |
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, |