--- Raphael fenix@club-internet.fr wrote:
Hi,
Changelog:
- add a new settings for vbo support
- use a struct to handle wined3d settings
- prepare VBO using some abstraction APIs
Just a couple of queries..
Why are you passing the offset to GetMemory? I can't see there ever being a need for it IWineD3DVertexBufferImpl_GetMemory(foo) + offset should be fine
};
+BYTE* WINAPI IWineD3DVertexBufferImpl_GetMemory(IWineD3DVertexBuffer* iface, DWORD iOffset) {
- IWineD3DVertexBufferImpl *This = (IWineD3DVertexBufferImpl *)iface;
- return This->resource.allocatedMemory + iOffset;
+}
+HRESULT WINAPI IWineD3DVertexBufferImpl_ReleaseMemory(IWineD3DVertexBuffer* iface) {
- return D3D_OK;
+}
___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com