Patches for r8468 build errors. Unreviewed.
git-svn-id: http://skia.googlecode.com/svn/trunk@8469 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
054ae99d93
commit
86b5e29f80
@ -133,7 +133,7 @@ static const int kGrVertexAttribBindingCnt = kLast_GrVertexAttribBinding + 1;
|
||||
static const int kGrFixedFunctionVertexAttribBindingCnt =
|
||||
kLastFixedFunction_GrVertexAttribBinding + 1;
|
||||
|
||||
static inline const int GrFixedFunctionVertexAttribVectorCount(GrVertexAttribBinding binding) {
|
||||
static inline int GrFixedFunctionVertexAttribVectorCount(GrVertexAttribBinding binding) {
|
||||
GrAssert(binding >= 0 && binding < kGrFixedFunctionVertexAttribBindingCnt);
|
||||
static const int kVecCounts[] = { 2, 2, 4, 4 };
|
||||
|
||||
|
@ -1031,8 +1031,6 @@ private:
|
||||
// not need to be compared in op==.
|
||||
int fFixedFunctionVertexAttribIndices[kGrFixedFunctionVertexAttribBindingCnt];
|
||||
|
||||
GR_STATIC_ASSERT(kGrVertexAttribBindingCnt <= 8*sizeof(uint32_t));
|
||||
|
||||
bool operator== (const CommonState& other) const {
|
||||
bool result = fColor == other.fColor &&
|
||||
fViewMatrix.cheapEqualTo(other.fViewMatrix) &&
|
||||
|
Loading…
Reference in New Issue
Block a user