comparison libvo/w32_common.c @ 18987:1f08622dd297

Fix window size bug when starting with -fs and returning to windowed mode
author reimar
date Mon, 10 Jul 2006 10:22:29 +0000
parents c2aee29c80b6
children 7094d22578d4
comparison
equal deleted inserted replaced
18986:d743c48823cc 18987:1f08622dd297
299 int vo_w32_config(uint32_t width, uint32_t height, uint32_t flags) { 299 int vo_w32_config(uint32_t width, uint32_t height, uint32_t flags) {
300 // store original size for videomode switching 300 // store original size for videomode switching
301 o_dwidth = width; 301 o_dwidth = width;
302 o_dheight = height; 302 o_dheight = height;
303 303
304 prev_width = width; 304 prev_width = vo_dwidth = width;
305 prev_height = height; 305 prev_height = vo_dheight = height;
306 prev_x = vo_dx; 306 prev_x = vo_dx;
307 prev_y = vo_dy; 307 prev_y = vo_dy;
308 308
309 vo_fs = flags & VOFLAG_FULLSCREEN; 309 vo_fs = flags & VOFLAG_FULLSCREEN;
310 vo_vm = flags & VOFLAG_MODESWITCHING; 310 vo_vm = flags & VOFLAG_MODESWITCHING;