From 25effd17ef1a1a05d671382b9a51be29734226a0 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 7 Sep 2019 10:49:21 +0200 Subject: Multi-process done. GL has to be done cleanly now. --- src/main.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index 4510b19..363a614 100644 --- a/src/main.h +++ b/src/main.h @@ -24,6 +24,8 @@ typedef struct { // OpenGL worker SDL_Window* gl_win; SDL_GLContext gl_ctx; + SDL_Renderer *gl_rndr; + SDL_Texture *gl_target; // framebuffer to inject OpenGL or SDL result in caca canvas uint32_t raw_target[FBUF_W*FBUF_H]; // Timing -- cgit v1.2.3