[PATCH 4/5] wined3d: Move the decoded stream info into the context.

Henri Verbeet hverbeet at gmail.com
Wed Sep 11 06:47:32 CDT 2013


On 11 September 2013 13:37, Stefan Dösinger <stefan at codeweavers.com> wrote:
> The next element is a BYTE. The 8 bits padding were stupid considering
> that, it just generates a hole. Now I am removing one bit, which
> leaves one bit of padding left.
>
It doesn't really work like that, the layout is like this:

UINT (4)
WORD (2)
BYTE (1)
char (1)

Removing the 8 bits of padding is equivalent to just making the
bitfield a BYTE, and you end up with a hole after the
"surface_alignment" field.



More information about the wine-devel mailing list