On 13 June 2012 10:41, Michael Stefaniuc <[email protected]> wrote: > - object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object)); > + object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, > FIELD_OFFSET(struct wined3d, adapters[1]));
That's not really a VLA, just a somewhat stupid array of size 1.
