Stefan Dösinger stefan@codeweavers.com writes:
This patch allocates the memory of Surfaces, Indexbuffers and Vertexbuffers with VirtualAlloc instead of HeapAlloc. This will be needed for GetDC to work. It is done for Index- and Vertexbuffers too because they are also managed by the WineD3D resource manager.
I'm not sure I agree with that. Are you planning to trap accesses like the DIB code does? That sucks pretty badly in the DIB code, I don't think we want to do any more of that.