Skip to content
  • Oliver Bock's avatar
    Added a check for hardware acceleration · e7b10f24
    Oliver Bock authored
    * 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)
    e7b10f24