commit | 59f46b81f8bdd1b524f5cc43bc27603f9604c71a | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jul 10 17:30:58 2012 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jul 10 17:30:58 2012 +0000 |
tree | c074f4d76c87c4ab67e32405327a0c10201ed7e8 | |
parent | 676e66096c60615bac52f365111596de5c4ca8a6 [diff] [blame] |
Fixed Windows compiler complaints http://codereview.appspot.com/6392044 git-svn-id: http://skia.googlecode.com/svn/trunk@4511 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp index c2a308e..60095ab 100644 --- a/src/gpu/GrDrawTarget.cpp +++ b/src/gpu/GrDrawTarget.cpp
@@ -540,7 +540,7 @@ } bool GrDrawTarget::StageUsesTexCoords(GrVertexLayout layout, int stage) { - return layout & gStageTexCoordMasks[stage]; + return SkToBool(layout & gStageTexCoordMasks[stage]); } bool GrDrawTarget::reserveVertexAndIndexSpace(GrVertexLayout vertexLayout,