diff options
author | jvanverth <jvanverth@google.com> | 2015-04-28 08:48:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-28 08:48:20 -0700 |
commit | cfc18867d982119d9dc2888bf09f1093012daadd (patch) | |
tree | af55e571828da1a7353457451bafab547079fa1f /gm | |
parent | 77772f3ca36c3fb7f2195615cce2adac2be2fec6 (diff) |
Use GLSLCaps for creating processor keys and GLSL-specific programs
Effectively all this does is future-proof any GLSL-specific code, as
GLSLCaps is just a typedef of GLCaps.
BUG=skia:
Review URL: https://codereview.chromium.org/1109863004
Diffstat (limited to 'gm')
-rw-r--r-- | gm/dcshader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/dcshader.cpp b/gm/dcshader.cpp index bbe035ad41..ead779db4e 100644 --- a/gm/dcshader.cpp +++ b/gm/dcshader.cpp @@ -60,7 +60,7 @@ public: this->initClassID<DCFP>(); } - void getGLProcessorKey(const GrGLCaps& caps, + void getGLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override {} GrGLFragmentProcessor* createGLInstance() const override { |