[2/2] WineD3D: Make the srgb write flag bigger

Vitaliy Margolen wine-devel at kievinfo.com
Thu Sep 4 00:16:25 CDT 2008

Stefan Dösinger wrote:
>> You should add a note to the source about this. Or someone might change
>> the
>> size of this structure and the old bug will return.
> That's probably a good idea
>> However the best way to fix this problem would be to pack this
>> structure:
>> #include <pshpack1.h>
>> struct ffp_settings {
>> ...
>> };
>> #include <poppack.h>
> Is this portable?
That's Wine's header files. And AFAIK they should work on all platforms.
If anything, number of structures in windows headers are packed...


More information about the wine-devel mailing list