summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/gdi
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-11-18 09:07:31 +0100
committerJan Holesovsky <kendy@collabora.com>2014-11-18 15:44:04 +0100
commit878cea9134768cadfc57fe70baeb4b9a8bf4dfbf (patch)
tree670a4563223449985b7ffa43281bd6ecfa8d20f5 /vcl/unx/generic/gdi
parentfef950f828f6e6da844f3a11ee72d9cd628b1474 (diff)
windows opengl: Provide the context to textures everywhere where we have it.
Change-Id: Ib820326fdc752d0893840bad3eb7f1369469f796
Diffstat (limited to 'vcl/unx/generic/gdi')
-rw-r--r--vcl/unx/generic/gdi/salgdi.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/vcl/unx/generic/gdi/salgdi.cxx b/vcl/unx/generic/gdi/salgdi.cxx
index b425cd781735..e07b56effe2f 100644
--- a/vcl/unx/generic/gdi/salgdi.cxx
+++ b/vcl/unx/generic/gdi/salgdi.cxx
@@ -173,15 +173,6 @@ void X11SalGraphics::DeInit()
SetDrawable( None, m_nXScreen );
}
-OpenGLContext* X11SalGraphics::GetOpenGLContext() const
-{
- OpenGLSalGraphicsImpl *pImpl;
- pImpl = dynamic_cast<OpenGLSalGraphicsImpl*>(mpImpl.get());
- if( pImpl )
- return &pImpl->GetOpenGLContext();
- return NULL;
-}
-
void X11SalGraphics::SetClipRegion( GC pGC, Region pXReg ) const
{
Display *pDisplay = GetXDisplay();