comparison src/video/xbios/SDL_xbios.c @ 1094:5012b97142ac

Set hardware palette to black in True Colour mode
author Patrice Mandin <patmandin@gmail.com>
date Mon, 18 Jul 2005 13:42:57 +0000
parents 49d154d0c56e
children c8a51d169579
comparison
equal deleted inserted replaced
1093:d00b4d8508ab 1094:5012b97142ac
679 SDL_XBIOS_CentscreenSetmode(this, width, height, new_depth); 679 SDL_XBIOS_CentscreenSetmode(this, width, height, new_depth);
680 } else { 680 } else {
681 Vsetmode(new_video_mode->number); 681 Vsetmode(new_video_mode->number);
682 } 682 }
683 #endif 683 #endif
684 /* Set hardware palette to black in True Colour */
685 if (new_depth == 16) {
686 memset(F30_palette, 0, sizeof(F30_palette));
687 VsetRGB(0,256,F30_palette);
688 }
684 break; 689 break;
685 } 690 }
686 691
687 Vsync(); 692 Vsync();
688 693