From Mathias Froehlich, "Included a fix for my past pbuffer change. The version test fo 'need at least
glx 1.1' was broken, even if no implementation had yet a chance to trigger that :) Attached a fix for that broken test. Based on rev 8358"
This commit is contained in:
parent
dd6d04e088
commit
7230d54011
@ -157,7 +157,7 @@ void PixelBufferX11::init()
|
||||
}
|
||||
|
||||
// Just be paranoid, if we are older than 1.1, we cannot even call glxQueryExtensionString
|
||||
if (1 < major || (1 == major && minor < 1))
|
||||
if (major < 1 || (1 == major && minor < 1))
|
||||
{
|
||||
osg::notify(osg::NOTICE) << "Error: " << XDisplayName(_traits->displayName().c_str())
|
||||
<< " GLX version " << major << "." << minor << " is too old." << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user