diff options
Diffstat (limited to 'libvo/vo_vesa.c')
-rw-r--r-- | libvo/vo_vesa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index 3bc3ea739a..65c2845087 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -434,8 +434,8 @@ init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint3 printf("\nvo_vesa: Modes in detail:\n"); } mode_ptr = vib.VideoModePtr; - w = d_width ? d_width : width; - h = d_height ? d_height : height; + w = vo_screenwidth ? vo_screenwidth : width; + h = vo_screenheight ? vo_screenheight : height; for(i=0;i < num_modes;i++) { if((err=vbeGetModeInfo(mode_ptr[i],&vmib)) != VBE_OK) |