changeset 7025:3bc8ff93d64e

10l bug - noticed by Emiel Neggers <emiel@neggers.net>
author arpi
date Fri, 16 Aug 2002 22:23:50 +0000
parents c605c57edead
children a3126e9099b4
files libvo/vo_vesa.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_vesa.c	Fri Aug 16 22:01:57 2002 +0000
+++ b/libvo/vo_vesa.c	Fri Aug 16 22:23:50 2002 +0000
@@ -701,10 +701,10 @@
 			PRINT_VBE_ERR("vbeGetModeInfo",err);
 			return -1;
 		}
+		dstBpp = video_mode_info.BitsPerPixel;
 		printf("vo_vesa: Using VESA mode (%u) = %x [%ux%u@%u]\n"
 			,best_mode_idx,video_mode,video_mode_info.XResolution
 			,video_mode_info.YResolution,dstBpp);
-		dstBpp = video_mode_info.BitsPerPixel;
 		if(subdev_flags & SUBDEV_NODGA) video_mode_info.PhysBasePtr = 0;
 		if(use_scaler || fs_mode)
 		{