diff options
author | 2011-08-05 15:38:49 +0000 | |
---|---|---|
committer | 2011-08-05 15:38:49 +0000 | |
commit | c7e6d08fd2a8aa53f6603e145c23e06095b97063 (patch) | |
tree | e36c408211430e327076680591051d3c953fe111 | |
parent | 9181aa84aa288d2bc3ab079b6b40a79ac87d8807 (diff) |
Fix dumb copy/paste error
git-svn-id: http://skia.googlecode.com/svn/trunk@2049 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | gpu/src/GrGpuGL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/src/GrGpuGL.cpp b/gpu/src/GrGpuGL.cpp index 9586c12f91..7916a91754 100644 --- a/gpu/src/GrGpuGL.cpp +++ b/gpu/src/GrGpuGL.cpp @@ -1331,7 +1331,7 @@ bool GrGpuGL::createStencilBufferForRenderTarget(GrRenderTarget* rt, // as well. GrGLTexture* tex = (GrGLTexture*) rt->asTexture(); width = GrMax(width, tex->allocWidth()); - height = GrMax(height, tex->allocWidth()); + height = GrMax(height, tex->allocHeight()); int samples = rt->numSamples(); GrGLuint sbID; |