Fix debug build. Unreviewed.
git-svn-id: http://skia.googlecode.com/svn/trunk@7416 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
cabe00eace
commit
22943cd588
@ -34,7 +34,7 @@ public:
|
||||
int height() const { return fDesc.fHeight; }
|
||||
|
||||
GrSurfaceOrigin origin() const {
|
||||
GrAssert(kTopLeft_SurfaceOrigin == fOrigin || kBottomLeft_SurfaceOrigin == fOrigin);
|
||||
GrAssert(kTopLeft_GrSurfaceOrigin == fOrigin || kBottomLeft_GrSurfaceOrigin == fOrigin);
|
||||
return fOrigin;
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,7 @@ void GrGLTexture::init(GrGpuGL* gpu,
|
||||
textureDesc.fIsWrapped));
|
||||
|
||||
if (NULL != rtDesc) {
|
||||
GrAssert(kBottomLeft_GrSurfaceOrigin == textureDesc.fSurfaceOrigin);
|
||||
GrAssert(kBottomLeft_GrSurfaceOrigin == textureDesc.fOrigin);
|
||||
GrGLIRect vp;
|
||||
vp.fLeft = 0;
|
||||
vp.fWidth = textureDesc.fWidth;
|
||||
|
Loading…
Reference in New Issue
Block a user