changeset 2712:7732745d5f3f

rgb32to16, rgb32to15 support
author nick
date Mon, 05 Nov 2001 08:38:18 +0000
parents 84dff4aac89e
children d5af4a6afa4c
files libvo/vo_vesa.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_vesa.c	Mon Nov 05 08:37:27 2001 +0000
+++ b/libvo/vo_vesa.c	Mon Nov 05 08:38:18 2001 +0000
@@ -700,6 +700,10 @@
 		  else 
 		  if(image_bpp == 32 && video_mode_info.BitsPerPixel == 24) rgb2rgb_fnc = rgb32to24;
 		  else 
+		  if(image_bpp == 32 && video_mode_info.BitsPerPixel == 16) rgb2rgb_fnc = rgb32to16;
+		  else 
+		  if(image_bpp == 32 && video_mode_info.BitsPerPixel == 15) rgb2rgb_fnc = rgb32to15;
+		  else 
 		  if(image_bpp == 15 && video_mode_info.BitsPerPixel == 16) rgb2rgb_fnc = rgb15to16;
 		  else 
 		  {