[5/5] WineD3D: Don't set unloaded arrays to zero

Stefan Dösinger stefan at codeweavers.com
Wed Jun 10 02:16:23 CDT 2009

A non-text attachment was scrubbed...
Name: 0005-WineD3D-Don-t-set-unloaded-arrays-to-zero.patch
Type: application/octet-stream
Size: 1661 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090610/15880137/attachment.obj>
-------------- next part --------------

As a sidenode, the memory issues occur when setting vertex attribute  
zero. It seems that MacOS tries to emit a primitive outside glBegin()/ 
glEnd(), which isn't going to work. Setting a non-zero attribute works  
ok, but I think we should have the same behavior for all attribs.

This problem affects ATI and Intel drivers, I don't know about Nvidia.

More information about the wine-patches mailing list