diff options
Diffstat (limited to 'vcl/unx/source/app/salinst.cxx')
-rw-r--r-- | vcl/unx/source/app/salinst.cxx | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/vcl/unx/source/app/salinst.cxx b/vcl/unx/source/app/salinst.cxx index 9ef29e837e33..18b24e2cb2f3 100644 --- a/vcl/unx/source/app/salinst.cxx +++ b/vcl/unx/source/app/salinst.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: salinst.cxx,v $ - * $Revision: 1.34 $ + * $Revision: 1.34.154.1 $ * * This file is part of OpenOffice.org. * @@ -49,7 +49,6 @@ #include <dtint.hxx> #include <salprn.h> #include <sm.hxx> -#include <salogl.h> // ------------------------------------------------------------------------- // @@ -117,9 +116,6 @@ extern "C" X11SalInstance::~X11SalInstance() { - // release (possibly open) OpenGL context - X11SalOpenGL::Release(); - // close session management SessionManagerClient::close(); @@ -132,13 +128,6 @@ X11SalInstance::~X11SalInstance() delete pSalData; SetSalData( NULL ); - // eventually free OpenGL lib - // this needs to be done after XCloseDisplay - // since GL may have added extension data - including a - // function pointer that gets called on XCloseDisplay - to - // the display structure - X11SalOpenGL::ReleaseLib(); - delete mpSalYieldMutex; } @@ -287,8 +276,3 @@ void X11SalInstance::DestroyFrame( SalFrame* pFrame ) { delete pFrame; } - -SalOpenGL* X11SalInstance::CreateSalOpenGL( SalGraphics* pGraphics ) -{ - return new X11SalOpenGL( pGraphics ); -} |