# HG changeset patch # User faust3 # Date 1095870413 0 # Node ID 93cc1072ec38eb43ad44ae2f64b9af63e532660e # Parent 79a6401f471bad3ffff6012a41f7b43c6236c20b 100l diff -r 79a6401f471b -r 93cc1072ec38 libvo/vo_directx.c --- a/libvo/vo_directx.c Wed Sep 22 15:52:44 2004 +0000 +++ b/libvo/vo_directx.c Wed Sep 22 16:26:53 2004 +0000 @@ -1160,16 +1160,16 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t options, char *title, uint32_t format) { + RECT rd; vo_screenwidth = GetSystemMetrics(SM_CXSCREEN); vo_screenheight = GetSystemMetrics(SM_CYSCREEN); vo_fs = options & 0x01; - RECT rd; image_format = format; image_width = width; image_height = height; d_image_width = d_width; d_image_height = d_height; - nooverlay = 0; + if(format != primary_image_format)nooverlay = 0; aspect_save_orig(image_width,image_height); aspect_save_prescale(d_image_width,d_image_height); if(vidmode){