aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/main.h
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2020-05-27 21:40:02 +0200
committerArisotura <thetotalworm@gmail.com>2020-05-27 21:40:02 +0200
commite8849db78abe4db518c7f324323b88f478acc69a (patch)
treef7db236cc20a6d5a32ab79435eb9224856884648 /src/frontend/qt_sdl/main.h
parentef2802ae31c4af965457216a190535b41efe749d (diff)
we don't need a GLShim.
blarg. I don't understand this anymore.
Diffstat (limited to 'src/frontend/qt_sdl/main.h')
-rw-r--r--src/frontend/qt_sdl/main.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/frontend/qt_sdl/main.h b/src/frontend/qt_sdl/main.h
index 2a24960..8759e95 100644
--- a/src/frontend/qt_sdl/main.h
+++ b/src/frontend/qt_sdl/main.h
@@ -75,7 +75,7 @@ private:
int PrevEmuStatus;
int EmuRunning;
- QSurface* oglSurface;
+ QOffscreenSurface* oglSurface;
QOpenGLContext* oglContext;
};
@@ -163,16 +163,6 @@ private:
};
-class GLShim : public QWindow
-{
- Q_OBJECT
-
-public:
- explicit GLShim(QSurfaceFormat& format);
- ~GLShim();
-};
-
-
class MainWindow : public QMainWindow
{
Q_OBJECT