From: Delio Brignoli Date: Sat, 16 Sep 2017 17:44:43 +0000 (+0100) Subject: ssd1306: remove stray glBegin(GL_QUADS) call X-Git-Tag: v1.6~13 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=d0f6399282a72088e029de2eca6341ab0d988071;p=sx%2Fsimavr.git ssd1306: remove stray glBegin(GL_QUADS) call --- 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);