Index: src/gpu/GrGpu.cpp |
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp |
index 36a9cf19b4020e5f0928d2531e126f00d5423c57..fd249deb7b065251c3a6c495df1aa38cfe962892 100644 |
--- a/src/gpu/GrGpu.cpp |
+++ b/src/gpu/GrGpu.cpp |
@@ -125,10 +125,10 @@ GrTexture* GrGpu::createTexture(const GrTextureDesc& desc, |
SkASSERT((desc.fFlags & kRenderTarget_GrTextureFlagBit) == 0); |
if (!this->caps()->npotTextureTileSupport() && |
- (!GrIsPow2(desc.fWidth) || !GrIsPow2(desc.fHeight))) { |
+ (!SkIsPow2(desc.fWidth) || !SkIsPow2(desc.fHeight))) { |
return NULL; |
} |
- |
+ |
this->handleDirtyContext(); |
tex = this->onCreateCompressedTexture(desc, srcData); |
} else { |