aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-13 16:13:13 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-13 16:13:13 +0000
commit45a412ee365694c61b50f6177382b509d1e2462b (patch)
treea76d7194c7092ff7906b53640c82951bf4a61997 /src
parent6a51dcbf81cff6d92996ab3f4c7457478e441896 (diff)
r7719 was an exact reland of r7713. This CL is fix.
git-svn-id: http://skia.googlecode.com/svn/trunk@7720 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/gpu/gl/GrGLProgram.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLProgram.h b/src/gpu/gl/GrGLProgram.h
index 5d02ba2a9c..bdf5665903 100644
--- a/src/gpu/gl/GrGLProgram.h
+++ b/src/gpu/gl/GrGLProgram.h
@@ -117,7 +117,8 @@ public:
MatrixState() { this->invalidate(); }
void invalidate() {
fViewMatrix = SkMatrix::InvalidMatrix();
- fRenderTargetSize.fWidth = -1; // just make the first value compared illegal.
+ fRenderTargetSize.fWidth = -1;
+ fRenderTargetSize.fHeight = -1;
fRenderTargetOrigin = (GrSurfaceOrigin) -1;
}
};