Commit 421b6558 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Pack the ffp_desc structure better.

parent 4d1d1683
...@@ -785,10 +785,7 @@ struct ffp_settings { ...@@ -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;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment