aboutsummaryrefslogtreecommitdiffhomepage
path: root/debugger/QT/SkGLWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debugger/QT/SkGLWidget.cpp')
-rw-r--r--debugger/QT/SkGLWidget.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/debugger/QT/SkGLWidget.cpp b/debugger/QT/SkGLWidget.cpp
index 395cf4451b..74ed48eb6e 100644
--- a/debugger/QT/SkGLWidget.cpp
+++ b/debugger/QT/SkGLWidget.cpp
@@ -9,12 +9,15 @@
#include "SkGLWidget.h"
-SkGLWidget::SkGLWidget(QWidget* parent) : QGLWidget(parent) {
+SkGLWidget::SkGLWidget() : QGLWidget() {
this->setStyleSheet("QWidget {background-color: white; border: 1px solid #cccccc;}");
fTransform.set(0,0);
fScaleFactor = 1.0;
fIndex = 0;
fDebugCanvas = NULL;
+ fCurIntf = NULL;
+ fCurContext = NULL;
+ fGpuDevice = NULL;
}
SkGLWidget::~SkGLWidget() {