Default to allow either accelerated or not
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404320
This commit is contained in:
parent
fe2b42f86c
commit
240b5fcaab
7 changed files with 54 additions and 36 deletions
|
@ -469,9 +469,12 @@ WIN_GL_SetupWindow(_THIS, SDL_Window * window)
|
|||
*iAttr++ = _this->gl_config.multisamplesamples;
|
||||
}
|
||||
|
||||
*iAttr++ = WGL_ACCELERATION_ARB;
|
||||
*iAttr++ = (_this->gl_config.accelerated ? WGL_GENERIC_ACCELERATION_ARB :
|
||||
WGL_NO_ACCELERATION_ARB);
|
||||
if (_this->gl_config.accelerated >= 0) {
|
||||
*iAttr++ = WGL_ACCELERATION_ARB;
|
||||
*iAttr++ =
|
||||
(_this->gl_config.accelerated ? WGL_GENERIC_ACCELERATION_ARB :
|
||||
WGL_NO_ACCELERATION_ARB);
|
||||
}
|
||||
|
||||
*iAttr = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue