diff options
author | 2016-07-19 08:02:20 -0700 | |
---|---|---|
committer | 2016-07-19 08:02:21 -0700 | |
commit | c4459f6a3381b033dc7871701a647820d8f6bec4 (patch) | |
tree | dc65a100f0434427a6f5ff427be87046768b502d /src/gpu/gl/GrGLGpu.cpp | |
parent | e34f17d23699abfc672289f51319b37294b3c257 (diff) |
Fix debugging code for tracing texture creation
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2164623002
Review-Url: https://codereview.chromium.org/2164623002
Diffstat (limited to 'src/gpu/gl/GrGLGpu.cpp')
-rw-r--r-- | src/gpu/gl/GrGLGpu.cpp | 4 |
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; } |