ommited calling demo_post_draw in the glut backend
authorJohn Tsiombikas <nuclear@member.fsf.org>
Tue, 16 Jun 2020 20:51:23 +0000 (23:51 +0300)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Tue, 16 Jun 2020 20:51:23 +0000 (23:51 +0300)
src/glut/main.c

index 0e766bd..fb663e6 100644 (file)
@@ -232,6 +232,8 @@ void blit_frame(void *pixels, int vsync)
                prev_vsync = vsync;
        }
 
                prev_vsync = vsync;
        }
 
+       demo_post_draw(pixels);
+
        for(i=0; i<FB_WIDTH * FB_HEIGHT; i++) {
                int r = UNPACK_R16(*sptr);
                int g = UNPACK_G16(*sptr);
        for(i=0; i<FB_WIDTH * FB_HEIGHT; i++) {
                int r = UNPACK_R16(*sptr);
                int g = UNPACK_G16(*sptr);