Index: bench/GLInstancedArraysBench.cpp |
diff --git a/bench/GLInstancedArraysBench.cpp b/bench/GLInstancedArraysBench.cpp |
index f75b094e3ece8e904693c543284dcee910a919e3..a6b46b7d5a1b1f9e71c8f516520bfa727f593bd4 100644 |
--- a/bench/GLInstancedArraysBench.cpp |
+++ b/bench/GLInstancedArraysBench.cpp |
@@ -27,6 +27,9 @@ |
* issued. |
*/ |
class GLInstancedArraysBench : public Benchmark { |
+public: |
+ GLInstancedArraysBench() : fTexture(0) {} |
+ |
protected: |
void onPerCanvasPreDraw(SkCanvas* canvas) override; |
virtual void setup(const GrGLContext*)=0; |
@@ -78,7 +81,9 @@ public: |
*/ |
GLCpuPosInstancedArraysBench(VboSetup vboSetup, int32_t drawDiv) |
: fVboSetup(vboSetup) |
- , fDrawDiv(drawDiv) { |
+ , fDrawDiv(drawDiv) |
+ , fProgram(0) |
+ , fVAO(0) { |
fName = VboSetupToStr(vboSetup, fDrawDiv); |
} |