summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-01-17 02:29:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-01-19 12:42:15 +0000
commit678a7225249619a57dc3225feaf527ed45c70736 (patch)
treea37828ab5c5a0c5c9a3224ac68f6bf4e686decb3 /include
parentb5023a443fbeb59be5014991241d906b908413f6 (diff)
no need to do that for all contexts
This fixes a crash as we would need to make each context current before calling ReleaseFramebuffers. However this is totally unnecessary as only the current context can have bound framebuffers. Change-Id: I8b1496bb890982742b3d2ebf60fdce47db642d70 Reviewed-on: https://gerrit.libreoffice.org/13974 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/opengl/OpenGLContext.hxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index 30e52611446f..7d721233582f 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -223,9 +223,6 @@ public:
bool isCurrent();
static void clearCurrent();
- /// reset all contexts dis-associating them with their underlying
- /// resources before a potential thread switch.
- static void resetAllContexts();
/// make this GL context current - so it is implicit in subsequent GL calls
void makeCurrent();