aboutsummaryrefslogtreecommitdiff
path: root/src/opengl_widget.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl_widget.hh')
-rw-r--r--src/opengl_widget.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl_widget.hh b/src/opengl_widget.hh
index 1bc2bbc..04e2ffc 100644
--- a/src/opengl_widget.hh
+++ b/src/opengl_widget.hh
@@ -28,6 +28,7 @@ class OpenGLWidget : public QOpenGLWidget, public QOpenGLExtraFunctions {
QOpenGLShaderProgram main_program;
QOpenGLShaderProgram skybox_program;
+ QOpenGLShaderProgram line_program;
GLuint skybox_tex;
GLuint skybox_vao;
GLuint skybox_vbo;
@@ -56,6 +57,7 @@ public:
void paintGL() override;
void setPainter(const Painter *p);
QOpenGLShaderProgram *getMainProgram();
+ QOpenGLShaderProgram *getLineProgram();
signals:
void initialized();