From 87292bf4cc56194aa6122456d7417fa5f9bd1a09 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Wed, 6 Jan 2016 10:43:38 +0100 Subject: VoronoiSplat: upated to use Qt's FBO wrapper. --- voronoisplat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'voronoisplat.h') diff --git a/voronoisplat.h b/voronoisplat.h index 78dfd3e..29c7f47 100644 --- a/voronoisplat.h +++ b/voronoisplat.h @@ -3,6 +3,7 @@ #include #include +#include #include #include #include @@ -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; -- cgit v1.2.3