Give GrGLProgramStage a virtual destructor

Review URL: http://codereview.appspot.com/6127044



git-svn-id: http://skia.googlecode.com/svn/trunk@3767 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2012-04-25 17:48:49 +00:00
parent 7460b378d6
commit 8e124a2454
2 changed files with 7 additions and 1 deletions

View File

@ -8,6 +8,11 @@
#include "GrGLSL.h"
#include "GrGLProgramStage.h"
GrGLProgramStage::~GrGLProgramStage() {
}
///////////////////////////////////////////////////////////////////////////////
GrGLProgramStageFactory::~GrGLProgramStageFactory(void) {
}

View File

@ -36,7 +36,8 @@ public:
};
typedef GrTAllocator<GrGLShaderVar> VarArray;
virtual ~GrGLProgramStage();
/** Creates any uniform variables the vertex shader requires
and appends them to vsUnis;