17 Nov
2008
17 Nov
'08
8:42 a.m.
2008/11/17 Stefan Dösinger <stefan(a)codeweavers.com>:
2008/11/17 Stefan Dösinger <stefan(a)codeweavers.com>:
- } else if (fixup || + } else if (device->vertex_pipe->can_convert_d3dcolor || fixup || Shouldn't this be redundant if you already handle color conversion in IWineD3DVertexBufferImpl_FindDecl()? Not all vertex data comes from a vertex buffer. 'fixup' is always FALSE for Draw[Indexed]PrimitiveUP and DrawPrimitiveStrided.
Can we fix that? I think I would prefer it if primitiveDeclarationConvertToStridedData() handled all that, and just returned whether we can use the fast draw function, or have to use the slow one.