# HG changeset patch # User Sam Lantinga # Date 1258606759 0 # Node ID 5a7b5760c875ce8634eeb5a6462c116714825118 # Parent 77366fae00942d1815d87028e5cc8d8caa12a9a4 Include the endpoint in the line we're drawing diff -r 77366fae0094 -r 5a7b5760c875 src/video/SDL_renderer_gl.c --- a/src/video/SDL_renderer_gl.c Thu Nov 19 04:33:35 2009 +0000 +++ b/src/video/SDL_renderer_gl.c Thu Nov 19 04:59:19 2009 +0000 @@ -1128,6 +1128,11 @@ data->glVertex2f(0.5f + x2, 0.5f + y2); data->glEnd(); + /* For some reason the second endpoint is skipped */ + data->glBegin(GL_POINTS); + data->glVertex2f(0.5f + x2, 0.5f + y2); + data->glEnd(); + return 0; }