From 519c70ea5f850e940f0bb7b730ffe38354d4ddc2 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 31 Oct 2009 14:44:43 +0000 Subject: [PATCH] Fixed compile problem due to name change of getGLXContext to getContext --- src/osgViewer/PixelBufferX11.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osgViewer/PixelBufferX11.cpp b/src/osgViewer/PixelBufferX11.cpp index dd1cb1dec..23b252e2b 100644 --- a/src/osgViewer/PixelBufferX11.cpp +++ b/src/osgViewer/PixelBufferX11.cpp @@ -223,14 +223,14 @@ void PixelBufferX11::init() GraphicsWindowX11* graphicsWindowX11 = dynamic_cast(_traits->sharedContext); if (graphicsWindowX11) { - sharedContextGLX = graphicsWindowX11->getGLXContext(); + sharedContextGLX = graphicsWindowX11->getContext(); } else { PixelBufferX11* pixelBufferX11 = dynamic_cast(_traits->sharedContext); if (pixelBufferX11) { - sharedContextGLX = pixelBufferX11->getGLXContext(); + sharedContextGLX = pixelBufferX11->getContext(); } }