Index: /trunk/src/VBox/Frontends/VirtualBox/include/VBoxFBOverlay.h
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/include/VBoxFBOverlay.h	(revision 23547)
+++ /trunk/src/VBox/Frontends/VirtualBox/include/VBoxFBOverlay.h	(revision 23548)
@@ -1049,11 +1049,11 @@
     bool vboxIsInitialized() {return mDisplay.getVGA() != NULL; }
 
+    void vboxDoResize(void *re);
+
 //    void vboxPaintEvent (QPaintEvent *pe) {vboxPerformGLOp(&VBoxGLWidget::vboxDoPaint, pe); }
     void vboxResizeEvent (class VBoxResizeEvent *re) {vboxPerformGLOp(&VBoxGLWidget::vboxDoResize, re); }
 
     void vboxProcessVHWACommands(class VBoxVHWACommandElementProcessor * pPipe) {vboxPerformGLOp(&VBoxGLWidget::vboxDoProcessVHWACommands, pPipe);}
-#ifdef VBOX_WITH_VIDEOHWACCEL
-    void vboxVHWACmd (struct _VBOXVHWACMD * pCmd) {vboxPerformGLOp(&VBoxGLWidget::vboxDoVHWACmd, pCmd);}
-#endif
+
     class VBoxVHWAGlProgramMngr * vboxVHWAGetGlProgramMngr() { return mpMngr; }
 
@@ -1096,5 +1096,4 @@
     static void setupMatricies(const QSize &display);
     static void adjustViewport(const QSize &display, const QRect &viewport);
-    void vboxDoResize(void *re);
 //    void vboxDoPaint(void *rec);
 
Index: /trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp	(revision 23547)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp	(revision 23548)
@@ -690,6 +690,6 @@
     g_vboxVHWAGlSupportInitialized = true;
 
-    if (!QGLContext(QGLFormat::defaultFormat()).isValid())
-        return;
+//    if (!QGLContext(QGLFormat::defaultFormat()).isValid())
+//        return;
 
     static QGLWidget *pTmpContextHolder = NULL;
@@ -5461,5 +5461,5 @@
             mContainer->height());
 
-    mpOverlayWidget->vboxResizeEvent(&re);
+    mpOverlayWidget->vboxDoResize(&re);
     return true;
 }
