Fix dumb copy/paste error
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 5 Aug 2011 15:38:49 +0000 (15:38 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 5 Aug 2011 15:38:49 +0000 (15:38 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@2049 2bbb7eff-a529-9590-31e7-b0007b416f81

gpu/src/GrGpuGL.cpp

index 9586c12f91501744a8f0efc398ca4122ceea0951..7916a9175471cc927dabf99409e424574a3a4c90 100644 (file)
@@ -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;