Fixed: nglXSwapIntervalEXT return type should be void

--HG--
branch : compatibility
This commit is contained in:
kervala 2014-04-17 10:16:30 +02:00
parent 5a88951837
commit 831758beb1

View file

@ -2195,7 +2195,7 @@ void CDriverGL::setSwapVBLInterval(uint interval)
#elif defined(NL_OS_UNIX)
if (_win && _Extensions.GLXEXTSwapControl)
{
res = nglXSwapIntervalEXT(_dpy, _win, interval) == 0;
nglXSwapIntervalEXT(_dpy, _win, interval);
}
else if (_Extensions.GLXSGISwapControl)
{