Merged in nimetu/ryzomcore/Issue#130 (pull request #65)

Properly restore saved camera distance from config file (issue #130)
This commit is contained in:
Cédric OCHS 2014-04-24 19:14:01 +02:00
commit a607fab7e9

View file

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