aboutsummaryrefslogtreecommitdiff
path: root/include/ui
diff options
context:
space:
mode:
authorElie Tournier <tournier.elie@gmail.com>2018-04-13 14:58:41 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-04-27 09:51:40 +0200
commit844fd50dbbcfc9e401895274bf4fb8da8e8d3f64 (patch)
treeeac915c4932c9ddfae722f30831910b587502728 /include/ui
parent62f27922b3f1e0253a6755d2c711cd0bc1e79f18 (diff)
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/ui')
-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;