Mercurial > sdl-ios-xcode
diff src/video/SDL_renderer_gl.c @ 2893:e67f3f3bf221
Turn on line antialiasing (requires blending to be enabled)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 20 Dec 2008 18:40:30 +0000 |
parents | 9dde605c7540 |
children | 133601e3b255 |
line wrap: on
line diff
--- a/src/video/SDL_renderer_gl.c Sat Dec 20 18:26:06 2008 +0000 +++ b/src/video/SDL_renderer_gl.c Sat Dec 20 18:40:30 2008 +0000 @@ -425,6 +425,7 @@ data->scaleMode = -1; data->glDisable(GL_DEPTH_TEST); data->glDisable(GL_CULL_FACE); + data->glEnable(GL_LINE_SMOOTH); if (data->GL_ARB_texture_rectangle_supported) { data->glEnable(GL_TEXTURE_RECTANGLE_ARB); } else {