Feb. 20, 2023
11:30 p.m.
Zebediah Figura (@zfigura) commented about dlls/ddraw/device.c:
return D3D_OK; } + +/* + * DirectD3D vertex buffer helpers + * + * For now, it only supports : + * d3d_device.version == 7 + * flags == 0 + * + * Note : it does transform D3DPT_TRIANGLEFAN into D3DPT_TRIANGLELIST. + */ +static HRESULT ddraw_buffer_add(struct d3d_device *device, D3DPRIMITIVETYPE primitive_type, DWORD fvf, void *vertices, DWORD vertex_count, DWORD flags, UINT stride) { + int buffer_indice_count_initial = device->ddraw_device_buffer.buffer_vertex_count; + + if (flags) return WINED3DERR_NOTAVAILABLE;
No need for this; flags are always ignored anyway. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2105#note_24895