From e63839de20c56649ce16adfe7e849735223ad130 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 2 Jan 2011 02:31:20 +0000 Subject: Turn off dynamic window resizing feature on OS X, as it adds an ugly resize handle to the corner of the window that overlaps the view of the game. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2231 --- src/i_video.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/i_video.c b/src/i_video.c index 55fd21e1..cd5d2ace 100644 --- a/src/i_video.c +++ b/src/i_video.c @@ -1676,7 +1676,13 @@ static void SetVideoMode(screen_mode_t *mode, int w, int h) } else { + // In windowed mode, the window can be resized while the game is + // running. This feature is disabled on OS X, as it adds an ugly + // scroll handle to the corner of the screen. + +#ifndef __MACOSX__ flags |= SDL_RESIZABLE; +#endif } screen = SDL_SetVideoMode(w, h, screen_bpp, flags); -- cgit v1.2.3