Stefan Dösinger : wined3d: Pack the ffp_desc structure better.

Alexandre Julliard julliard at winehq.org
Fri Sep 5 06:57:53 CDT 2008


Module: wine
Branch: master
Commit: 421b6558c108549a8e5f97ff2199aae9a7da2f6a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=421b6558c108549a8e5f97ff2199aae9a7da2f6a

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Thu Sep  4 15:51:21 2008 -0500

wined3d: Pack the ffp_desc structure better.

---

 dlls/wined3d/wined3d_private.h |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 794293a..f009bcd 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -785,10 +785,7 @@ struct ffp_settings {
         FOG_EXP,
         FOG_EXP2
     } fog;
-    /* Use an int instead of a char to get dword alignment. gcc tends to align the
-     * size of the whole structure, so there are 3 padding bytes. These remain
-     * uninitialized in the construction function and cause confusion in the hashmap
-     */
+    /* Use an int instead of a char to get dword alignment */
     unsigned int sRGB_write;
 };
 




More information about the wine-cvs mailing list