aboutsummaryrefslogtreecommitdiff
path: root/src/opengl_widget.hh
diff options
context:
space:
mode:
authorccolin2021-01-04 13:34:34 +0100
committerccolin2021-01-04 13:34:34 +0100
commit0f06601bc69d08baaa6c5b11c03e59ac818c426e (patch)
treeb9225f8b6529b74f289591bdea63992393315f9c /src/opengl_widget.hh
parent7fe6bf15180110ba0df803472444cd7fd6a4e414 (diff)
fix misc rendering issue
Diffstat (limited to 'src/opengl_widget.hh')
-rw-r--r--src/opengl_widget.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/opengl_widget.hh b/src/opengl_widget.hh
index 39897be..abe226f 100644
--- a/src/opengl_widget.hh
+++ b/src/opengl_widget.hh
@@ -13,9 +13,12 @@
#define FOV 70
+class OpenGLWidget;
+
+
class Painter {
public:
- virtual void draw(QOpenGLExtraFunctions *f) const = 0;
+ virtual void draw(OpenGLWidget *glw) const = 0;
};