Index: src/gpu/gl/GrGLRenderTarget.cpp |
diff --git a/src/gpu/gl/GrGLRenderTarget.cpp b/src/gpu/gl/GrGLRenderTarget.cpp |
index a6fc1862b32bd0a036a80ffbbc1596b47b52e979..f2a0cdced30989a7dff09cea482e1bf32f5ba2bc 100644 |
--- a/src/gpu/gl/GrGLRenderTarget.cpp |
+++ b/src/gpu/gl/GrGLRenderTarget.cpp |
@@ -52,15 +52,15 @@ GrGLRenderTarget::GrGLRenderTarget(GrGpuGL* gpu, |
viewport.fWidth, viewport.fHeight, |
desc.fConfig, desc.fSampleCnt, |
desc.fOrigin)) { |
- GrAssert(NULL != texID); |
- GrAssert(NULL != texture); |
+ SkASSERT(NULL != texID); |
+ SkASSERT(NULL != texture); |
// FBO 0 can't also be a texture, right? |
- GrAssert(0 != desc.fRTFBOID); |
- GrAssert(0 != desc.fTexFBOID); |
+ SkASSERT(0 != desc.fRTFBOID); |
+ SkASSERT(0 != desc.fTexFBOID); |
// we assume this is true, TODO: get rid of viewport as a param. |
- GrAssert(viewport.fWidth == texture->width()); |
- GrAssert(viewport.fHeight == texture->height()); |
+ SkASSERT(viewport.fWidth == texture->width()); |
+ SkASSERT(viewport.fHeight == texture->height()); |
this->init(desc, viewport, texID); |
} |