how to stop screen depth being changed ?

Bruce Mellows bruce at
Tue Mar 16 23:18:40 CST 2004

When trying to run an application, the application has an error box that 
states that it was unable to get a 1024x768x24 resolution screen.

When I had a poke around I found a number of places that had this code...
if (dwBpp == 24) dwBpp = 32;

if I comment these out, the application works fine.

however that is not to my liking, is there another way ?

(Actually I added an option in wine-20040309/dlls/x11drv/x11drv_main.c 
setup_options to suppress this, but the effect is the same)

More information about the wine-users mailing list