1/2 wined3d: print warning/error to winediag [try2]

Alexandre Julliard julliard at winehq.org
Tue Dec 8 05:25:02 CST 2009

Roderick Colenbrander <thunderbird2k at gmail.com> writes:

>          {
> -            ERR("Direct3D%d is not available without opengl\n", dxVersion);
> +            ERR_(winediag)("Unable to initialize Direct3D%d due to lack of OpenGL support.\nMake sure OpenGL drivers are installed on your system and that Wine was compiled with OpenGL support.\n", dxVersion);

I don't think you want that. One of the ideas behind winediag is that it
should be machine-parsable, and adding new lines in the middle of traces
will make that harder.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list