Fix dumb copy/paste error
git-svn-id: http://skia.googlecode.com/svn/trunk@2049 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/GrGpuGL.cpp b/gpu/src/GrGpuGL.cpp
index 9586c12..7916a91 100644
--- a/gpu/src/GrGpuGL.cpp
+++ b/gpu/src/GrGpuGL.cpp
@@ -1331,7 +1331,7 @@
// 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;