mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 17:46:18 +00:00
Merged in nimetu/ryzomcore/Issue#145 (pull request #66)
Fix compiling on linux with new OpenGL headers (issue #145)
This commit is contained in:
commit
b7bafa4f66
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue