diff -r 910890292639 -r 9f435f66bd0c src/gl/axesprogram.h --- a/src/gl/axesprogram.h Fri Feb 05 14:23:16 2021 +0200 +++ b/src/gl/axesprogram.h Wed Feb 17 16:49:35 2021 +0200 @@ -1,18 +1,14 @@ #pragma once #include "gl/common.h" -#include "gl/basicshaderprogram.h" +#include "gl/abstractshaderprogram.h" -class AxesProgram : public AbstractBasicShaderProgram +class AxesProgram : public AbstractShaderProgram { Q_OBJECT public: - using AbstractBasicShaderProgram::AbstractBasicShaderProgram; + AxesProgram(QObject* parent = nullptr); protected: const char* vertexShaderSource() const override; const char* fragmentShaderSource() const override; - const void* vertexData() const override; - GLenum drawMode() const override; - int vertexSize() const override; - int vertexCount() const override; void setupVertexArrays() override; };