[Bug 17193] New: [PATCH] cope with missing wglGetExtensionsStringARB / wglGetPixelFormatAttribivARB
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Jan 30 07:39:28 CST 2009
http://bugs.winehq.org/show_bug.cgi?id=17193
Summary: [PATCH] cope with missing wglGetExtensionsStringARB /
wglGetPixelFormatAttribivARB
Product: Wine
Version: unspecified
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: directx-d3d
AssignedTo: wine-bugs at winehq.org
ReportedBy: rmh at aybabtu.com
Created an attachment (id=19093)
--> (http://bugs.winehq.org/attachment.cgi?id=19093)
patch
Currently, WineD3D assumes wglGetExtensionsStringARB and
wglGetPixelFormatAttribivARB are present, and if they're not, it will segfault
when attempting to call them. This patch adds some checks so that:
- The pointers in GLINFO_LOCATION are set to NULL when a WGL function is not
present (this was only done for GL ones).
- Code paths exist to fail gracefully when either wglGetExtensionsStringARB or
wglGetPixelFormatAttribivARB are unimplemented, disabling the functionality
associated with them.
(This situation was found when using WineD3D with Chromium OpenGL as
implemented in VirtualBox OSE 2.1)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list