Fixed compile problem due to name change of getGLXContext to getContext

This commit is contained in:
Robert Osfield
2009-10-31 14:44:43 +00:00
parent 68556419cc
commit 519c70ea5f

View File

@@ -223,14 +223,14 @@ void PixelBufferX11::init()
GraphicsWindowX11* graphicsWindowX11 = dynamic_cast<GraphicsWindowX11*>(_traits->sharedContext);
if (graphicsWindowX11)
{
sharedContextGLX = graphicsWindowX11->getGLXContext();
sharedContextGLX = graphicsWindowX11->getContext();
}
else
{
PixelBufferX11* pixelBufferX11 = dynamic_cast<PixelBufferX11*>(_traits->sharedContext);
if (pixelBufferX11)
{
sharedContextGLX = pixelBufferX11->getGLXContext();
sharedContextGLX = pixelBufferX11->getContext();
}
}