summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorElie Tournier2018-04-13 15:58:41 +0200
committerGerd Hoffmann2018-04-27 09:51:40 +0200
commit844fd50dbbcfc9e401895274bf4fb8da8e8d3f64 (patch)
treeeac915c4932c9ddfae722f30831910b587502728 /include
parentqapi: Parameter gl of DisplayType now accept an enum (diff)
downloadqemu-844fd50dbbcfc9e401895274bf4fb8da8e8d3f64.tar.gz
qemu-844fd50dbbcfc9e401895274bf4fb8da8e8d3f64.tar.xz
qemu-844fd50dbbcfc9e401895274bf4fb8da8e8d3f64.zip
sdl: Move DisplayOptions global to sdl2_console
Suggested-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Elie Tournier <elie.tournier@collabora.com> Message-id: 20180413135842.21325-3-tournier.elie@gmail.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/ui/sdl2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/sdl2.h b/include/ui/sdl2.h
index 51084e6320..f43eecdbd6 100644
--- a/include/ui/sdl2.h
+++ b/include/ui/sdl2.h
@@ -14,6 +14,7 @@
struct sdl2_console {
DisplayChangeListener dcl;
DisplaySurface *surface;
+ DisplayOptions *opts;
SDL_Texture *texture;
SDL_Window *real_window;
SDL_Renderer *real_renderer;