diff options
author | rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-22 12:45:30 +0000 |
---|---|---|
committer | rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-22 12:45:30 +0000 |
commit | c9f3b38f67893b22c3e02a6a934bc676e36c5cfc (patch) | |
tree | c4b7f71a0bc717aaa35306cfe0c36ee814e2c091 /src/gpu/GrInOrderDrawBuffer.cpp | |
parent | 3d0b0500bd95678afe0849f858102c06ee5550c0 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping (SkipBuildbotRuns)
git-svn-id: http://skia.googlecode.com/svn/trunk@8795 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrInOrderDrawBuffer.cpp')
-rw-r--r-- | src/gpu/GrInOrderDrawBuffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp index fae79c84c6..a0dce188a8 100644 --- a/src/gpu/GrInOrderDrawBuffer.cpp +++ b/src/gpu/GrInOrderDrawBuffer.cpp @@ -79,7 +79,7 @@ namespace { extern const GrVertexAttrib kRectPosColorUVAttribs[] = { {kVec2f_GrVertexAttribType, 0, kPosition_GrVertexAttribBinding}, {kVec4ub_GrVertexAttribType, sizeof(GrPoint), kColor_GrVertexAttribBinding}, - {kVec2f_GrVertexAttribType, sizeof(GrPoint)+sizeof(GrColor), + {kVec2f_GrVertexAttribType, sizeof(GrPoint)+sizeof(GrColor), kLocalCoord_GrVertexAttribBinding}, }; @@ -136,7 +136,7 @@ void GrInOrderDrawBuffer::onDrawRect(const GrRect& rect, // We set the draw state's color to white here. This is done so that any batching performed // in our subclass's onDraw() won't get a false from GrDrawState::op== due to a color // mismatch. TODO: Once vertex layout is owned by GrDrawState it should skip comparing the - // constant color in its op== when the kColor layout bit is set and then we can remove + // constant color in its op== when the kColor layout bit is set and then we can remove // this. acr.set(drawState, 0xFFFFFFFF); } |