* modules/video_output/directx/directx.c: fixed crash with 256 colors mode.