Index: src/gpu/gl/GrGLPathRendering.cpp |
diff --git a/src/gpu/gl/GrGLPathRendering.cpp b/src/gpu/gl/GrGLPathRendering.cpp |
index ffdbbdab261b3431fb405213e5e03f8c0f70cdc3..7c77155b6c5638c22357004db033ad5cadf5b1f3 100644 |
--- a/src/gpu/gl/GrGLPathRendering.cpp |
+++ b/src/gpu/gl/GrGLPathRendering.cpp |
@@ -61,6 +61,9 @@ static GrGLenum gr_stencil_op_to_gl_path_rendering_fill_mode(GrStencilOp op) { |
GrGLPathRendering::GrGLPathRendering(GrGLGpu* gpu) |
: GrPathRendering(gpu) { |
+ const GrGLInterface* glInterface = gpu->glInterface(); |
+ fCaps.bindFragmentInputSupport = |
+ NULL != glInterface->fFunctions.fBindFragmentInputLocation; |
} |
GrGLPathRendering::~GrGLPathRendering() { |