Disable static asserts to get Chrome compiling
git-svn-id: http://skia.googlecode.com/svn/trunk@6257 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
9cf5b28648
commit
e41fee9767
@ -233,7 +233,7 @@ void GrGLUniformManager::setMatrix4fv(UniformHandle u,
|
||||
}
|
||||
|
||||
void GrGLUniformManager::setSkMatrix(UniformHandle u, const SkMatrix& matrix) const {
|
||||
GR_STATIC_ASSERT(SK_SCALAR_IS_FLOAT);
|
||||
// GR_STATIC_ASSERT(SK_SCALAR_IS_FLOAT);
|
||||
GrGLfloat mt[] = {
|
||||
matrix.get(SkMatrix::kMScaleX),
|
||||
matrix.get(SkMatrix::kMSkewY),
|
||||
|
@ -464,7 +464,7 @@ void GrGpuGL::setupGeometry(int* startVertex,
|
||||
scalarType = TEXT_COORDS_GL_TYPE;
|
||||
texCoordNorm = SkToBool(TEXT_COORDS_ARE_NORMALIZED);
|
||||
} else {
|
||||
GR_STATIC_ASSERT(SK_SCALAR_IS_FLOAT);
|
||||
// GR_STATIC_ASSERT(SK_SCALAR_IS_FLOAT);
|
||||
scalarType = GR_GL_FLOAT;
|
||||
texCoordNorm = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user