wined3d: Pack the ffp_desc structure better.
This commit is contained in:
parent
4d1d16836b
commit
421b6558c1
|
@ -785,10 +785,7 @@ struct ffp_settings {
|
||||||
FOG_EXP,
|
FOG_EXP,
|
||||||
FOG_EXP2
|
FOG_EXP2
|
||||||
} fog;
|
} fog;
|
||||||
/* Use an int instead of a char to get dword alignment. gcc tends to align the
|
/* Use an int instead of a char to get dword alignment */
|
||||||
* size of the whole structure, so there are 3 padding bytes. These remain
|
|
||||||
* uninitialized in the construction function and cause confusion in the hashmap
|
|
||||||
*/
|
|
||||||
unsigned int sRGB_write;
|
unsigned int sRGB_write;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue