changeset 2333:d9ba4de305cf

Replacing -x, -y on -screenw, -screenh
author nick
date Sun, 21 Oct 2001 12:50:45 +0000
parents 66b69c384a67
children a70571f46bd2
files libvo/vo_vesa.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_vesa.c	Sun Oct 21 12:42:59 2001 +0000
+++ b/libvo/vo_vesa.c	Sun Oct 21 12:50:45 2001 +0000
@@ -434,8 +434,8 @@
 	  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)