aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2015-06-24 11:07:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-24 11:07:07 -0700
commit98a83a9f0699a97a0ed2d1b15ec8d050c647a99a (patch)
treee613fa439887b9563be801db9d46cf602c7e73ae /src/gpu
parent71c3c760a83123ee0b3127b8c65c6394ce541c50 (diff)
Add default for GrGLSLCaps::fGLSLGeneration
Diffstat (limited to 'src/gpu')
-rwxr-xr-xsrc/gpu/glsl/GrGLSLCaps.cpp4
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 {