src/video/SDL_renderer_gl.c
changeset 3455 5a7b5760c875
parent 3454 77366fae0094
child 3457 06e948183b59
--- 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;
 }