Henri Verbeet : wined3d: Use a table for colour fixups in apply_format_fixups().

Alexandre Julliard julliard at winehq.org
Thu Sep 13 15:14:47 CDT 2018


Module: wine
Branch: master
Commit: 39e19d2d217fe312ba32764c81621919c6d1dd40
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=39e19d2d217fe312ba32764c81621919c6d1dd40

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Sep 13 21:04:46 2018 +0430

wined3d: Use a table for colour fixups in apply_format_fixups().

This ends up being slightly more code, but I think the table is much more
readable.

Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/utils.c           | 200 ++++++++++++++++++++++-------------------
 dlls/wined3d/wined3d_private.h |  14 ---
 2 files changed, 109 insertions(+), 105 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=39e19d2d217fe312ba32764c81621919c6d1dd40



More information about the wine-cvs mailing list