Browse Source

Platform: forgot to destroy PBuffer in WindowlessGlxApplication.

pull/116/head
Vladimír Vondruš 11 years ago
parent
commit
3a4eb8bfad
  1. 1
      src/Magnum/Platform/WindowlessGlxApplication.cpp

1
src/Magnum/Platform/WindowlessGlxApplication.cpp

@ -135,6 +135,7 @@ WindowlessGlxApplication::~WindowlessGlxApplication() {
_context.reset(); _context.reset();
glXMakeCurrent(_display, None, nullptr); glXMakeCurrent(_display, None, nullptr);
glXDestroyPbuffer(_display, _pbuffer);
glXDestroyContext(_display, _glContext); glXDestroyContext(_display, _glContext);
} }

Loading…
Cancel
Save