Commit 0f6431135c2717dc76c7d78251391262e922df91

Thomas de Grivel 2023-12-04T02:28:25

fix lightspeed glEnd

1
2
3
4
5
6
7
8
9
10
11
diff --git a/libc3/window/sdl2/demo/lightspeed.c b/libc3/window/sdl2/demo/lightspeed.c
index 0eb76ad..da13fd7 100644
--- a/libc3/window/sdl2/demo/lightspeed.c
+++ b/libc3/window/sdl2/demo/lightspeed.c
@@ -83,5 +83,6 @@ bool lightspeed_render (s_sequence *seq, s_window_sdl2 *window,
     star_render(seq->tag.data.tuple.tag + i, seq);
     i++;
   }
+  glEnd();
   return true;
 }