mirror of
https://github.com/glest/glest-source.git
synced 2025-09-01 20:12:40 +02:00
- set anti-alias setting so it works if enabled
This commit is contained in:
@@ -370,7 +370,7 @@ void Window::setupGraphicsScreen(int depthBits, int stencilBits, bool hardware_a
|
|||||||
|
|
||||||
if(fullscreen_anti_aliasing == true) {
|
if(fullscreen_anti_aliasing == true) {
|
||||||
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS,1);
|
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS,1);
|
||||||
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 16);
|
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 2);
|
||||||
}
|
}
|
||||||
if(hardware_acceleration == true) {
|
if(hardware_acceleration == true) {
|
||||||
SDL_GL_SetAttribute(SDL_GL_ACCELERATED_VISUAL, 1);
|
SDL_GL_SetAttribute(SDL_GL_ACCELERATED_VISUAL, 1);
|
||||||
|
Reference in New Issue
Block a user