diff options
Diffstat (limited to 'source/gl_main.c')
-rw-r--r-- | source/gl_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gl_main.c b/source/gl_main.c index 5c1e7fc..b2a5d98 100644 --- a/source/gl_main.c +++ b/source/gl_main.c @@ -672,8 +672,8 @@ static void GL_Strings_f( void ) { static void GL_ModeChanged( int width, int height, int flags, int rowbytes, void *pixels ) { - gl_config.vidWidth = width; - gl_config.vidHeight = height; + gl_config.vidWidth = width & ~7; + gl_config.vidHeight = height & ~1; gl_config.flags = flags; } |