Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Give GrGLProgramStage a virtual destructor

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



git-svn-id: http://skia.googlecode.com/svn/trunk/src@3767 2bbb7eff-a529-9590-31e7-b0007b416f81
  • Loading branch information...
commit bc69c244e59a550a705369ee3aac76c4a476ae5a 1 parent 1066037
bsalomon@google.com authored
Showing with 7 additions and 1 deletion.
  1. +5 −0 gpu/gl/GrGLProgramStage.cpp
  2. +2 −1  gpu/gl/GrGLProgramStage.h
View
5 gpu/gl/GrGLProgramStage.cpp
@@ -8,6 +8,11 @@
#include "GrGLSL.h"
#include "GrGLProgramStage.h"
+GrGLProgramStage::~GrGLProgramStage() {
+}
+
+///////////////////////////////////////////////////////////////////////////////
+
GrGLProgramStageFactory::~GrGLProgramStageFactory(void) {
}
View
3  gpu/gl/GrGLProgramStage.h
@@ -36,7 +36,8 @@ class GrGLProgramStage {
};
typedef GrTAllocator<GrGLShaderVar> VarArray;
-
+
+ virtual ~GrGLProgramStage();
/** Creates any uniform variables the vertex shader requires
and appends them to vsUnis;

0 comments on commit bc69c24

Please sign in to comment.
Something went wrong with that request. Please try again.