sdl2.h (22a9e1fd63ebd7254c6618f144357def75a993cb) sdl2.h (46e19e149f3b129a22c440caba853188df67deab)
1#ifndef SDL2_H
2#define SDL2_H
3
4/* Avoid compiler warning because macro is redefined in SDL_syswm.h. */
5#undef WIN32_LEAN_AND_MEAN
6
7#include <SDL.h>
8#include <SDL_syswm.h>

--- 12 unchanged lines hidden (view full) ---

21 int last_vm_running; /* per console for caption reasons */
22 int x, y, w, h;
23 int hidden;
24 int opengl;
25 int updates;
26 int idle_counter;
27 SDL_GLContext winctx;
28#ifdef CONFIG_OPENGL
1#ifndef SDL2_H
2#define SDL2_H
3
4/* Avoid compiler warning because macro is redefined in SDL_syswm.h. */
5#undef WIN32_LEAN_AND_MEAN
6
7#include <SDL.h>
8#include <SDL_syswm.h>

--- 12 unchanged lines hidden (view full) ---

21 int last_vm_running; /* per console for caption reasons */
22 int x, y, w, h;
23 int hidden;
24 int opengl;
25 int updates;
26 int idle_counter;
27 SDL_GLContext winctx;
28#ifdef CONFIG_OPENGL
29 ConsoleGLState *gls;
29 QemuGLShader *gls;
30 egl_fb guest_fb;
31 egl_fb win_fb;
32 bool y0_top;
33 bool scanout_mode;
34#endif
35};
36
37void sdl2_window_create(struct sdl2_console *scon);

--- 43 unchanged lines hidden ---
30 egl_fb guest_fb;
31 egl_fb win_fb;
32 bool y0_top;
33 bool scanout_mode;
34#endif
35};
36
37void sdl2_window_create(struct sdl2_console *scon);

--- 43 unchanged lines hidden ---