aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLShaderBuilder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/GrGLShaderBuilder.h')
-rw-r--r--src/gpu/gl/GrGLShaderBuilder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLShaderBuilder.h b/src/gpu/gl/GrGLShaderBuilder.h
index d50fbce9c8..ce1e6d1290 100644
--- a/src/gpu/gl/GrGLShaderBuilder.h
+++ b/src/gpu/gl/GrGLShaderBuilder.h
@@ -187,6 +187,8 @@ public:
// TODO: Make this do all the compiling, linking, etc.
void finished(GrGLuint programID);
+ const GrGLContextInfo& ctxInfo() const { return fCtxInfo; }
+
private:
typedef GrTAllocator<GrGLShaderVar> VarArray;