From 934e6b25927e13ad69a63c30b409b024c69d50f4 Mon Sep 17 00:00:00 2001 From: ccolin Date: Sat, 2 Jan 2021 16:00:44 +0100 Subject: improve opengl portability --- src/opengl_widget.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/opengl_widget.hh') diff --git a/src/opengl_widget.hh b/src/opengl_widget.hh index 5ee1057..785a17f 100644 --- a/src/opengl_widget.hh +++ b/src/opengl_widget.hh @@ -5,7 +5,7 @@ #include #include -#include +#include #include #include #include @@ -13,7 +13,7 @@ #define FOV 70 -class OpenGLWidget : public QOpenGLWidget, public QOpenGLFunctions_4_4_Core { +class OpenGLWidget : public QOpenGLWidget, public QOpenGLExtraFunctions { Q_OBJECT QMatrix4x4 rot, rot_start, proj; -- cgit v1.2.3-70-g09d2