X11DRV: Additional ERR line showing not found displaymode
Kris
spq at my-ct.de
Sun Apr 24 07:24:19 CDT 2005
ChangeLog: Added info which mode was requested when there's no matching displaymode in X11DRV_ChangeDisplaySettingsExW
spq
Index: dlls/x11drv/settings.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/settings.c,v
retrieving revision 1.1
diff -u -p -r1.1 settings.c
--- dlls/x11drv/settings.c 16 Oct 2003 00:21:42 -0000 1.1
+++ dlls/x11drv/settings.c 24 Apr 2005 11:34:00 -0000
@@ -290,6 +290,9 @@ LONG X11DRV_ChangeDisplaySettingsExW( LP
/* no valid modes found */
ERR("No matching mode found! (%s)\n", handler_name);
+ ERR("Requested: width=%ld height=%ld bpp=%ld freq=%ld\n",
+ devmode->dmPelsWidth,devmode->dmPelsHeight,
+ devmode->dmBitsPerPel,devmode->dmDisplayFrequency);
return DISP_CHANGE_BADMODE;
}
More information about the wine-patches
mailing list