From d0f6399282a72088e029de2eca6341ab0d988071 Mon Sep 17 00:00:00 2001 From: Delio Brignoli Date: Sat, 16 Sep 2017 18:44:43 +0100 Subject: [PATCH] ssd1306: remove stray glBegin(GL_QUADS) call --- examples/parts/ssd1306_glut.c | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/parts/ssd1306_glut.c b/examples/parts/ssd1306_glut.c index 9846aa5..d258208 100644 --- a/examples/parts/ssd1306_glut.c +++ b/examples/parts/ssd1306_glut.c @@ -170,7 +170,6 @@ ssd1306_gl_draw (ssd1306_t *part) glEnable (GL_BLEND); glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); - glBegin (GL_QUADS); // Draw background float opacity = ssd1306_gl_get_pixel_opacity (part->contrast_register); -- 2.39.5