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
 
- primitive_type == D3DPT_TRIANGLEFAN
 
- fvf == 0x2c4
 
- flags == 0
 
- vertex_count >= 3
 
- Note : it does transform D3DPT_TRIANGLEFAN into D3DPT_TRIANGLELIST.
 - */
 +static int ddraw_buffer_add_d7(IDirect3DDevice7 *iface, D3DPRIMITIVETYPE primitive_type, DWORD fvf, void *vertices, DWORD vertex_count, DWORD flags, UINT stride) {
Let's return "bool" here instead of "int".
Also, there's no need for the "d7" suffix; this isn't d3d7-specific.