Skip to content
Snippets Groups Projects
Commit e7b10f24 authored by Oliver Bock's avatar Oliver Bock
Browse files

Added a check for hardware acceleration

* FSAA can only be used if accelerated graphics are available
* First try with acceleration, fallback to no acceleration
* Note: SDL_GL_MULTISAMPLE* (FSAA) can not be combined with SDL_GL_ACCELERATED_VISUAL so we simply trust SDL_GL_GetAttribute(SDL_GL_ACCELERATED_VISUAL)
parent 19e1eeb1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment