Commit d0f6399282a72088e029de2eca6341ab0d988071
authorDelio Brignoli <brignoli.delio@gmail.com>
Sat, 16 Sep 2017 17:44:43 +0000 (18:44 +0100)
committerMichel Pollet <github.com@pollet.net>
Thu, 21 Sep 2017 05:44:16 +0000 (06:44 +0100)
examples/parts/ssd1306_glut.c

index 9846aa5bef9d3ce517a0a0d39e11086c00e46d87..d2582085399625ca6a59667cace23989a00f673a 100644 (file)
@@ -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);