Searched refs:swap_control (Results 1 – 5 of 5) sorted by relevance
291 if ( this->gl_config.swap_control >= 0 ) { in X11_GL_CreateContext()295 this->gl_config.swap_control); in X11_GL_CreateContext()297 rc = this->gl_data->glXSwapIntervalMESA(this->gl_config.swap_control); in X11_GL_CreateContext()299 rc = this->gl_data->glXSwapIntervalSGI(this->gl_config.swap_control); in X11_GL_CreateContext()302 this->gl_data->swap_interval = this->gl_config.swap_control; in X11_GL_CreateContext()
155 if ( this->gl_config.swap_control >= 0 ) {157 value = this->gl_config.swap_control;
372 if ( this->gl_config.swap_control >= 0 ) { in WIN_GL_SetupWindow()374 this->gl_data->wglSwapIntervalEXT(this->gl_config.swap_control); in WIN_GL_SetupWindow()
311 int swap_control; member
242 video->gl_config.swap_control = -1; /* not known, don't set */ in SDL_VideoInit()1504 video->gl_config.swap_control = value; in SDL_GL_SetAttribute()