1 Nov
2013
1 Nov
'13
9:05 a.m.
On 31 October 2013 20:06, Mihai-Augustin Serbanescu <romanux(a)gmail.com> wrote:
Hello, I am having trouble playing League of Legends in using Wine and I've heard that allocating twice the amount of memory for each resource in wined3d_resource_allocate_sysmem() would help with that issue. Can you please point how can I do that? You'd change the line "if (!(mem = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, resource->size + align)))" into "if (!(mem = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, (resource->size * 2) + align)))"
Although it may be just as easy to just add "size *= 2;" at the top of resource_init().