Fixed compiler warnings
This commit is contained in:
parent
57163e457f
commit
cf60f13a01
2 changed files with 4 additions and 1 deletions
|
@ -678,7 +678,7 @@ X11_GL_SetSwapInterval(_THIS, int interval)
|
|||
* it has the wrong value cached. To work around it, we just run a no-op
|
||||
* update to the current value.
|
||||
*/
|
||||
int currentInterval = _this, X11_GL_GetSwapInterval(_this);
|
||||
int currentInterval = X11_GL_GetSwapInterval(_this);
|
||||
_this->gl_data->glXSwapIntervalEXT(display, drawable, currentInterval);
|
||||
_this->gl_data->glXSwapIntervalEXT(display, drawable, interval);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue