diff options
author | jvanverth <jvanverth@google.com> | 2015-06-24 11:07:07 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-24 11:07:07 -0700 |
commit | 98a83a9f0699a97a0ed2d1b15ec8d050c647a99a (patch) | |
tree | e613fa439887b9563be801db9d46cf602c7e73ae /src/gpu | |
parent | 71c3c760a83123ee0b3127b8c65c6394ce541c50 (diff) |
Add default for GrGLSLCaps::fGLSLGeneration
Review URL: https://codereview.chromium.org/1203153002
Diffstat (limited to 'src/gpu')
-rwxr-xr-x | src/gpu/glsl/GrGLSLCaps.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpu/glsl/GrGLSLCaps.cpp b/src/gpu/glsl/GrGLSLCaps.cpp index cb72864347..e8624998cb 100755 --- a/src/gpu/glsl/GrGLSLCaps.cpp +++ b/src/gpu/glsl/GrGLSLCaps.cpp @@ -11,13 +11,15 @@ //////////////////////////////////////////////////////////////////////////////////////////// GrGLSLCaps::GrGLSLCaps(const GrContextOptions& options) { + fGLSLGeneration = k330_GrGLSLGeneration; + fDropsTileOnZeroDivide = false; fFBFetchSupport = false; fFBFetchNeedsCustomOutput = false; fBindlessTextureSupport = false; - fAdvBlendEqInteraction = kNotSupported_AdvBlendEqInteraction; fFBFetchColorName = NULL; fFBFetchExtensionString = NULL; + fAdvBlendEqInteraction = kNotSupported_AdvBlendEqInteraction; } SkString GrGLSLCaps::dump() const { |