From cddaf340f1474cc1ff429b8ef9bc8739c72f80ba Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Mon, 30 Jul 2012 13:09:05 +0000 Subject: Remove GrDrawState::setTexture/getTexture Review URL: http://codereview.appspot.com/6455051/ git-svn-id: http://skia.googlecode.com/svn/trunk@4826 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/gl/GrGLProgram.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gpu/gl/GrGLProgram.h') diff --git a/src/gpu/gl/GrGLProgram.h b/src/gpu/gl/GrGLProgram.h index 02cb6ef55a..b6c224cfeb 100644 --- a/src/gpu/gl/GrGLProgram.h +++ b/src/gpu/gl/GrGLProgram.h @@ -43,7 +43,7 @@ public: static GrGLProgram* Create(const GrGLContextInfo& gl, const Desc& desc, - GrCustomStage** customStages); + const GrCustomStage** customStages); virtual ~GrGLProgram(); @@ -235,14 +235,14 @@ public: private: GrGLProgram(const GrGLContextInfo& gl, const Desc& desc, - GrCustomStage** customStages); + const GrCustomStage** customStages); bool succeeded() const { return 0 != fProgramID; } /** * This is the heavy initilization routine for building a GLProgram. */ - bool genProgram(GrCustomStage** customStages); + bool genProgram(const GrCustomStage** customStages); void genInputColor(GrGLShaderBuilder* builder, SkString* inColor); -- cgit v1.2.3