commit | 6a820b652e2cbd9e1c7ee2885993b0ffd331c040 | [log] [tgz] |
---|---|---|
author | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu May 24 15:10:14 2012 +0000 |
committer | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu May 24 15:10:14 2012 +0000 |
tree | 6e102d8c489419cff499c2e6dec14db9cc790168 | |
parent | 8137fcfa7de5132d0358ace615f1e073fe48a7f2 [diff] [blame] |
First stage of reworking custom shader infrastructure to allow radial mappings. http://codereview.appspot.com/6239043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4040 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/GrGpuGLShaders.cpp b/src/gpu/gl/GrGpuGLShaders.cpp index 0589cfe..802574c 100644 --- a/src/gpu/gl/GrGpuGLShaders.cpp +++ b/src/gpu/gl/GrGpuGLShaders.cpp
@@ -764,7 +764,8 @@ static_cast<const GrGLTexture*>( this->getDrawState().getTexture(s)); fProgramData->fCustomStage[s]->setData( - this->glInterface(), sampler.getCustomStage(), texture); + this->glInterface(), *texture, + sampler.getCustomStage(), s); } } }