diff options
Diffstat (limited to 'modules/sdl2')
-rw-r--r-- | modules/sdl2/sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sdl2/sdl.c b/modules/sdl2/sdl.c index 8a036e5..ef719cd 100644 --- a/modules/sdl2/sdl.c +++ b/modules/sdl2/sdl.c @@ -134,7 +134,6 @@ static int alloc(struct vidisp_st **stp, const struct vidisp *vd, int err = 0; /* Not used by SDL */ - (void)prm; (void)dev; (void)resizeh; (void)arg; @@ -147,6 +146,7 @@ static int alloc(struct vidisp_st **stp, const struct vidisp *vd, return ENOMEM; st->vd = vd; + st->fullscreen = prm ? prm->fullscreen : false; tmr_start(&st->tmr, 100, event_handler, st); |