summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-11-15 17:29:33 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-11-16 17:25:28 +0100
commit687ecd9497406617540edbe08efa0f846c94f842 (patch)
tree2ee4070ac8ff163e585bb7e012acf538e9572cac /vcl
parent6cc2730effeaca3f482e97f8e209a5101f6c9287 (diff)
make something visible on the screen again
Why do we still use a double buffered FBC? It apparently works in the feature/opengl-vcl branch. Change-Id: I48b6879b9a9f7fec67f4da25cade46a32d8ad6fa
Diffstat (limited to 'vcl')
-rw-r--r--vcl/opengl/gdiimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 8532ba026e17..f8935b7eaae3 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -1502,7 +1502,7 @@ void OpenGLSalGraphicsImpl::endPaint()
if( mnPainting == 0 )
{
maContext.makeCurrent();
- glFlush();
+ maContext.swapBuffers();
}
}