Index: src/gpu/GrTexture.cpp |
diff --git a/src/gpu/GrTexture.cpp b/src/gpu/GrTexture.cpp |
index 20cd597fc4b034d2c0a459fdcf682976e94a92ac..4f95730b1201fdff5e0c2d00a5ef766f5bccbe52 100644 |
--- a/src/gpu/GrTexture.cpp |
+++ b/src/gpu/GrTexture.cpp |
@@ -172,7 +172,7 @@ GrResourceKey::ResourceFlags get_texture_flags(const GrGpu* gpu, |
GrResourceKey::ResourceFlags flags = 0; |
bool tiled = NULL != params && params->isTiled(); |
if (tiled && !gpu->caps()->npotTextureTileSupport()) { |
- if (!GrIsPow2(desc.fWidth) || !GrIsPow2(desc.fHeight)) { |
+ if (!SkIsPow2(desc.fWidth) || !SkIsPow2(desc.fHeight)) { |
flags |= kStretchToPOT_TextureFlag; |
switch(params->filterMode()) { |
case GrTextureParams::kNone_FilterMode: |