diff --git a/headers/Mandelbrot.h b/headers/Mandelbrot.h index fc332f6..aed8856 100644 --- a/headers/Mandelbrot.h +++ b/headers/Mandelbrot.h @@ -2,9 +2,9 @@ #pragma once #include -#include +#include -class Mandelbrot : public QObject, protected QOpenGLFunctions_3_3_Core { +class Mandelbrot : public QObject, protected QOpenGLExtraFunctions { Q_OBJECT public: void init(); diff --git a/headers/OutputWidget.h b/headers/OutputWidget.h index f9797cb..e76d66c 100644 --- a/headers/OutputWidget.h +++ b/headers/OutputWidget.h @@ -6,7 +6,7 @@ #include #include "Mandelbrot.h" -class OutputWidget : public QOpenGLWidget, protected QOpenGLFunctions_3_3_Core { +class OutputWidget : public QOpenGLWidget, protected QOpenGLExtraFunctions { Q_OBJECT public: explicit OutputWidget(QWidget* parent): QOpenGLWidget(parent) {}