changeset 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 e4bafaa29c65
children e80f347b6d29
files src/video/SDL_renderer_gl.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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 {