[Bug 5955] DirectDrawCreate crash on non-OpenGL desktop

Wine Bugs wine-bugs at winehq.org
Wed Mar 21 12:16:09 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=5955





------- Additional Comments From J.Nicolaisen at gmx.net  2007-21-03 12:16 -------
Just installed wine 0.9.31 to my Gentoo system. The opengl USE flag is unset, so
wine was compiled without OpenGL support.

I opened Regedit and set

HKCU/Software/Wine/Direct3D/DirectDrawRenderer = gdi (still no winecfg option?)

Upon starting vanilla Starcraft, I get this error:

err:ddraw:DDRAW_Create Couldn't load WineD3D - OpenGL libs not present?

>From Starcraft I get a neat little message to the extent of, "Starcraft couldn't
initialize your graphics card with DirectDraw. Make sure you have DirectDraw 5
or later installed etc. etc."

>From earlier dev comments in this bug I got the impression that Wine should
automatically fallback to the "old behaviour" if the OpenGL capabilities check
returns negative?

It doesn't do that, and just exits instead (same behaviour with and without the
registry key.)

Expected behaviour:

1) Compiling with OpenGL support should be optional

2) wine should fall back to plain X rendering if no OpenGL available (ie if the
check returns negative.)

I can check with Baldur's Gate too, if you want.

Stefan, I'm willing to help; tell me what you need.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list