diff --git a/debugger/QT/SkCanvasWidget.cpp b/debugger/QT/SkCanvasWidget.cpp index 9d691cd35a..49b1526531 100644 --- a/debugger/QT/SkCanvasWidget.cpp +++ b/debugger/QT/SkCanvasWidget.cpp @@ -42,7 +42,9 @@ SkCanvasWidget::SkCanvasWidget(QWidget* parent, setWidgetVisibility(kGPU_WidgetType, true); #endif connect(&fRasterWidget, SIGNAL(drawComplete()), this->parentWidget(), SLOT(drawComplete())); +#if SK_SUPPORT_GPU connect(&fGLWidget, SIGNAL(drawComplete()), this->parentWidget(), SLOT(drawComplete())); +#endif } SkCanvasWidget::~SkCanvasWidget() {}