From 4a846b9b93b89152b8f74f3dfc893441ae1347b8 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 13 Jan 2016 14:52:05 +0200 Subject: We only use the prev pointer (Why not use a std::list? Maybe there is some reason.) Change-Id: I09010726e9fe45cfa0f530a085c48ec8d3d02cfb --- vcl/opengl/framebuffer.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vcl/opengl/framebuffer.cxx') diff --git a/vcl/opengl/framebuffer.cxx b/vcl/opengl/framebuffer.cxx index 215eadf1312d..aa20a9382b52 100644 --- a/vcl/opengl/framebuffer.cxx +++ b/vcl/opengl/framebuffer.cxx @@ -18,8 +18,7 @@ OpenGLFramebuffer::OpenGLFramebuffer() : mnWidth( 0 ), mnHeight( 0 ), mnAttachedTexture( 0 ), - mpPrevFramebuffer( nullptr ), - mpNextFramebuffer( nullptr ) + mpPrevFramebuffer( nullptr ) { glGenFramebuffers( 1, &mnId ); CHECK_GL_ERROR(); -- cgit