diff options
author | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-03-22 14:44:46 +0000 |
---|---|---|
committer | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-03-22 14:44:46 +0000 |
commit | 24878f71d2c4583686130e0875c854f1e34bfb4b (patch) | |
tree | 823d81257580fdffd20fe928b94a1c1c7cc2f943 /src/gpu/gl | |
parent | aa40558c3db841664a8164ee281db6d1e2e15e62 (diff) |
Reset Ganesh TextureDomain after use.
http://codereview.appspot.com/5877049/
http://code.google.com/p/skia/issues/detail?id=540
git-svn-id: http://skia.googlecode.com/svn/trunk@3464 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl')
-rw-r--r-- | src/gpu/gl/GrGLProgram.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp index 29252131a5..a39b0b91bf 100644 --- a/src/gpu/gl/GrGLProgram.cpp +++ b/src/gpu/gl/GrGLProgram.cpp @@ -1383,6 +1383,7 @@ void GrGLProgram::getUniformLocationsAndInitCache(const GrGLContextInfo& gl, programData->fRadial2Radius0[s] = -GR_ScalarMax; programData->fTextureWidth[s] = -1; programData->fTextureHeight[s] = -1; + programData->fTextureDomain[s].setEmpty(); } programData->fViewMatrix = GrMatrix::InvalidMatrix(); programData->fColor = GrColor_ILLEGAL; |