diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-04-26 13:22:33 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-04-26 13:22:33 +0000 |
commit | 898d9e5dc677ae69b701b4fb6bab77ab10002cef (patch) | |
tree | a3f3ac45899e6a7e39d7cb0604920509ab5ef397 /gpu/src/GrInOrderDrawBuffer.cpp | |
parent | a39f404c87e9957947e3341e46056e4f589c91ad (diff) |
Fix signed/unsigned warning in GrInOrderDrawBuffer.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@1182 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/src/GrInOrderDrawBuffer.cpp')
-rw-r--r-- | gpu/src/GrInOrderDrawBuffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/src/GrInOrderDrawBuffer.cpp b/gpu/src/GrInOrderDrawBuffer.cpp index 93acc12432..7b769fede8 100644 --- a/gpu/src/GrInOrderDrawBuffer.cpp +++ b/gpu/src/GrInOrderDrawBuffer.cpp @@ -333,7 +333,7 @@ void GrInOrderDrawBuffer::playback(GrDrawTarget* target) { GrAssert(NULL != target); GrAssert(target != this); // not considered and why? - uint32_t numDraws = fDraws.count(); + int numDraws = fDraws.count(); if (!numDraws) { return; } @@ -351,7 +351,7 @@ void GrInOrderDrawBuffer::playback(GrDrawTarget* target) { uint32_t currClip = ~0; uint32_t currClear = 0; - for (uint32_t i = 0; i < numDraws; ++i) { + for (int i = 0; i < numDraws; ++i) { while (currClear < fClears.count() && i == fClears[currClear].fBeforeDrawIdx) { target->clear(fClears[currClear].fColor); |