diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-06 10:43:38 +0100 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-06 10:43:38 +0100 |
commit | 87292bf4cc56194aa6122456d7417fa5f9bd1a09 (patch) | |
tree | de73014a71432b6365c238c954049eb53fc3c136 /voronoisplat.h | |
parent | 841ede5c34a5cb001b540ed13a8439dc8df7d2a9 (diff) |
VoronoiSplat: upated to use Qt's FBO wrapper.
Diffstat (limited to 'voronoisplat.h')
-rw-r--r-- | voronoisplat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/voronoisplat.h b/voronoisplat.h index 78dfd3e..29c7f47 100644 --- a/voronoisplat.h +++ b/voronoisplat.h @@ -3,6 +3,7 @@ #include <QSGDynamicTexture> #include <QOpenGLFunctions> +#include <QOpenGLFramebufferObject> #include <QOpenGLShaderProgram> #include <QOpenGLVertexArrayObject> #include <armadillo> @@ -48,7 +49,7 @@ private: QOpenGLFunctions gl; QOpenGLShaderProgram *m_program1, *m_program2; - GLuint m_FBO; + QOpenGLFramebufferObject m_FBO; GLuint m_VBOs[3]; GLuint m_textures[2], m_colormapTex, m_tex; QOpenGLVertexArrayObject m_sitesVAO, m_2ndPassVAO; |