[AD] Fix for primitives on Windows 7 |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Here is a patch, anyone can look but I specifically wanted Paul to have a look and approve it before it's committed. It fixes incorrect usage of custom vertex formats when using D3D, which goes unnoticed until you run it on Windows 7. It's just a bug fix patch. It's also still possible to create custom vertex formats for D3D, but DX is strict about how you do that. The custom vertex format used in ex_prim is not formatted to be usable by DX, so on Windows 7 that section will still probably crash. Trent :{)>
Attachment:
custom_vertex.diff
Description: Binary data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |