src/video/xbios/SDL_xbios.c
changeset 1094 5012b97142ac
parent 1085 49d154d0c56e
child 1101 c8a51d169579
--- a/src/video/xbios/SDL_xbios.c	Sun Jul 17 07:11:43 2005 +0000
+++ b/src/video/xbios/SDL_xbios.c	Mon Jul 18 13:42:57 2005 +0000
@@ -681,6 +681,11 @@
 				Vsetmode(new_video_mode->number);
 			}
 #endif
+			/* Set hardware palette to black in True Colour */
+			if (new_depth == 16) {
+				memset(F30_palette, 0, sizeof(F30_palette));
+				VsetRGB(0,256,F30_palette);
+			}
 			break;
 	}