wined3d: Avoid sizeof on structs with variable length arrays.

Henri Verbeet hverbeet at
Wed Jun 13 06:41:57 CDT 2012

On 13 June 2012 13:27, Michael Stefaniuc <mstefani at> wrote:
> Uh... Any reason that field cannot be just
>  struct wined3d_adapter adapter;
> ?
Not really, but if we actually supported multihead we'd have multiple
adapters and would need to change it back again.

More information about the wine-devel mailing list