UPDATED: video mode changes

Lionel Ulmer lionel.ulmer at free.fr
Sun Apr 13 03:29:35 CDT 2003

Just a small nitpick :

> +    XF86VidModeModeInfo *mode;
> +    DWORD dwBpp = GetSystemMetrics(SM_WINE_BPP);
> +    if (dwBpp == 24) dwBpp = 32;

I would prefer this change to be done directly in the 'GetDeviceCaps'
function of the X11DRV to always return 32 in case the scren depth is 24. I
know for sure that this fixes at least one application and should not hurt
others :-)

A part from that, the patch looks nice... If it breaks apps on Desktop mode,
we will fix it then by re-adding the 'dummy' modes :-)


		 Lionel Ulmer - http://www.bbrox.org/

More information about the wine-devel mailing list