[5/6] d3d: Remove the format from index buffers

Stefan Dösinger stefan at codeweavers.com
Thu Apr 9 03:53:33 CDT 2009

Am Donnerstag, 9. April 2009 09:33:19 schrieb Henri Verbeet:
> 2009/4/9 Stefan Dösinger <stefan at codeweavers.com>:
> > +    hr = IWineD3DDevice_SetIndices(This->wineD3DDevice,
> > This->indexbuffer, +                                  
> > WINED3DFMT_R16_UINT /* d3d7 uses uints */);
> The comment is inconsistent with the code (and probably redundant to
> begin with).
Use this patch instead, it removes the comment. The fact that d3d7 always uses 
16 bit indices is pretty obvious from the method prototype this code runs in, 
so it isn't needed any longer(it used to be in a Create call far away from 
index data before)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-d3d-Remove-the-format-from-index-buffers.patch
Type: text/x-diff
Size: 19191 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090409/74501eda/attachment-0001.patch>

More information about the wine-patches mailing list