author | Patrice Mandin <patmandin@gmail.com> |
Mon, 18 Jul 2005 13:42:57 +0000 | |
changeset 1094 | 5012b97142ac |
parent 1093 | d00b4d8508ab |
child 1095 | f10892fa2e48 |
--- 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; }