Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Turn on line antialiasing (requires blending to be enabled)
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 20, 2008
1 parent 46bcfaf commit e892214
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video/SDL_renderer_gl.c
Expand Up @@ -425,6 +425,7 @@ GL_CreateRenderer(SDL_Window * window, Uint32 flags)
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 {
Expand Down

0 comments on commit e892214

Please sign in to comment.