summaryrefslogtreecommitdiff
path: root/avplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'avplay.c')
-rw-r--r--avplay.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/avplay.c b/avplay.c
index b87e270e74..754a69fe6a 100644
--- a/avplay.c
+++ b/avplay.c
@@ -2967,11 +2967,9 @@ int main(int argc, char **argv)
}
if (!display_disable) {
-#if HAVE_SDL_VIDEO_SIZE
const SDL_VideoInfo *vi = SDL_GetVideoInfo();
fs_screen_width = vi->current_w;
fs_screen_height = vi->current_h;
-#endif
}
SDL_EventState(SDL_ACTIVEEVENT, SDL_IGNORE);