Fix compiling on linux with new OpenGL headers (issue #145)

This commit is contained in:
Nimetu 2014-04-23 23:23:23 +03:00
parent 9eee69f72d
commit 6217b46193

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)
{