diff libvo/vo_vesa.c @ 2718:9c5e64493742

Well - old algorithms and new stuff rgb24to16(15)
author nick
date Mon, 05 Nov 2001 17:35:28 +0000
parents 7732745d5f3f
children ae79207a3055
line wrap: on
line diff
--- a/libvo/vo_vesa.c	Mon Nov 05 17:00:42 2001 +0000
+++ b/libvo/vo_vesa.c	Mon Nov 05 17:35:28 2001 +0000
@@ -704,6 +704,10 @@
 		  else 
 		  if(image_bpp == 32 && video_mode_info.BitsPerPixel == 15) rgb2rgb_fnc = rgb32to15;
 		  else 
+		  if(image_bpp == 24 && video_mode_info.BitsPerPixel == 16) rgb2rgb_fnc = rgb24to16;
+		  else 
+		  if(image_bpp == 24 && video_mode_info.BitsPerPixel == 15) rgb2rgb_fnc = rgb24to15;
+		  else 
 		  if(image_bpp == 15 && video_mode_info.BitsPerPixel == 16) rgb2rgb_fnc = rgb15to16;
 		  else 
 		  {