vcl/opengl/gdiimpl.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 6cc84edfaf212fd202bc30002869d50f8ca7e53d
Author: Chris Sherlock <[email protected]>
Date: Tue Jan 20 10:51:55 2015 +0000
Revert "vcl: increment ref in OpenGLSalGraphicsImpl::AcquireContext"
This reverts commit 3d580990643119cccb73f4f15d549863a6660aa6.
Change-Id: Ib16fea0df909d41b2d51d5f3efe44dd4b3419352
Reviewed-on: https://gerrit.libreoffice.org/14033
Reviewed-by: Chris Sherlock <[email protected]>
Tested-by: Chris Sherlock <[email protected]>
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 51374b9..bae5302 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -96,11 +96,7 @@ bool OpenGLSalGraphicsImpl::AcquireContext( )
if( pContext )
pContext->AddRef();
else
- {
pContext = mbOffscreen ? GetDefaultContext() : CreateWinContext();
- if (pContext)
- pContext->AddRef();
- }
mpContext = pContext;
return (mpContext != NULL);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits