aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLGpu.cpp
diff options
context:
space:
mode:
authorGravatar brianosman <brianosman@google.com>2016-07-19 08:02:20 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-19 08:02:21 -0700
commitc4459f6a3381b033dc7871701a647820d8f6bec4 (patch)
treedc65a100f0434427a6f5ff427be87046768b502d /src/gpu/gl/GrGLGpu.cpp
parente34f17d23699abfc672289f51319b37294b3c257 (diff)
Fix debugging code for tracing texture creation
Diffstat (limited to 'src/gpu/gl/GrGLGpu.cpp')
-rw-r--r--src/gpu/gl/GrGLGpu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp
index ae38ed8779..1c07291de0 100644
--- a/src/gpu/gl/GrGLGpu.cpp
+++ b/src/gpu/gl/GrGLGpu.cpp
@@ -1695,7 +1695,7 @@ GrTexture* GrGLGpu::onCreateTexture(const GrSurfaceDesc& desc,
tex->setCachedTexParams(initialTexParams, this->getResetTimestamp());
#ifdef TRACE_TEXTURE_CREATION
SkDebugf("--- new texture [%d] size=(%d %d) config=%d\n",
- glTexDesc.fInfo.fID, desc.fWidth, desc.fHeight, desc.fConfig);
+ idDesc.fInfo.fID, desc.fWidth, desc.fHeight, desc.fConfig);
#endif
return tex;
}
@@ -1729,7 +1729,7 @@ GrTexture* GrGLGpu::onCreateCompressedTexture(const GrSurfaceDesc& desc,
tex->setCachedTexParams(initialTexParams, this->getResetTimestamp());
#ifdef TRACE_TEXTURE_CREATION
SkDebugf("--- new compressed texture [%d] size=(%d %d) config=%d\n",
- glTexDesc.fInfo.fID, desc.fWidth, desc.fHeight, desc.fConfig);
+ idDesc.fInfo.fID, desc.fWidth, desc.fHeight, desc.fConfig);
#endif
return tex;
}