aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLCaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/GrGLCaps.cpp')
-rw-r--r--src/gpu/gl/GrGLCaps.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index c7dc862864..b23619d8b6 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -47,6 +47,7 @@ GrGLCaps::GrGLCaps(const GrContextOptions& contextOptions,
fUseNonVBOVertexAndIndexDynamicData = false;
fIsCoreProfile = false;
fFullClearIsFree = false;
+ fBindFragDataLocationSupport = false;
fReadPixelsSupportedCache.reset();
@@ -270,6 +271,10 @@ void GrGLCaps::init(const GrContextOptions& contextOptions,
fMultisampleDisableSupport = false;
}
+ if (kGL_GrGLStandard == standard && version >= GR_GL_VER(3, 0)) {
+ fBindFragDataLocationSupport = true;
+ }
+
/**************************************************************************
* GrShaderCaps fields
**************************************************************************/