Henri Verbeet : wined3d: Use a table for colour fixups in apply_format_fixups().
Module: wine Branch: master Commit: 39e19d2d217fe312ba32764c81621919c6d1dd40 URL: https://source.winehq.org/git/wine.git/?a=commit;h=39e19d2d217fe312ba32764c8... Author: Henri Verbeet <hverbeet(a)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(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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=39e19d2d217fe312ba327...
participants (1)
-
Alexandre Julliard