diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-01-13 14:52:05 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-01-13 15:07:55 +0200 |
commit | 4a846b9b93b89152b8f74f3dfc893441ae1347b8 (patch) | |
tree | d321cca6a0357afabe1e47d66509ac3e9a763de9 /vcl/opengl/framebuffer.cxx | |
parent | 37c35bc263b46edb5881cc9eb824d3eb432c0441 (diff) |
We only use the prev pointer
(Why not use a std::list? Maybe there is some reason.)
Change-Id: I09010726e9fe45cfa0f530a085c48ec8d3d02cfb
Diffstat (limited to 'vcl/opengl/framebuffer.cxx')
-rw-r--r-- | vcl/opengl/framebuffer.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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(); |