FillGLCaps foreign context question

Jesse Allen the3dfxdude at gmail.com
Tue Apr 24 22:54:59 CDT 2007


Jan,

In a patch from Nov 23, you changed FillGLCaps to return false when we
get a foreign context. This causes SW Battlefront to crash while
loading sometime after calling IWineD3DImpl_GetAdapterIdentifier, at
least on my system. IWineD3DImpl_GetAdapterIdentifier calls
FillGLCaps, and when it gets the false, it uses dummy values. Why
can't we use the caps from a foreign context? Attached patch fixes
loading the game.

See
http://source.winehq.org/git/wine.git/?a=commit;h=ee44a19966fec922ab2273449e2ba25d2a975cc5

Any ideas on what might be the problem?

Jesse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foreign_context.diff
Type: application/octet-stream
Size: 635 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070424/d225afaa/foreign_context.obj


More information about the wine-devel mailing list