Stefan Dösinger : wined3d: Put the color_correction calls into the instruction handlers.
Module: wine Branch: master Commit: 5cf764aec2177df93509be0f7f04f4268ad40c8b URL: http://source.winehq.org/git/wine.git/?a=commit;h=5cf764aec2177df93509be0f7f... Author: Stefan Dösinger <stefan(a)codeweavers.com> Date: Mon Feb 16 14:58:52 2009 +0100 wined3d: Put the color_correction calls into the instruction handlers. The color correction cannot be done behind the back of the individual instruction handlers because it might conflict with the instruction's color modifications and the D3D provided writemask. --- dlls/wined3d/arb_program_shader.c | 108 ++++++++++++++++++------------------- dlls/wined3d/baseshader.c | 65 ---------------------- dlls/wined3d/glsl_shader.c | 22 +++++++- dlls/wined3d/pixelshader.c | 17 +++--- dlls/wined3d/wined3d_private.h | 6 +-- 5 files changed, 81 insertions(+), 137 deletions(-) Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=5cf764aec2177df93509be...
participants (1)
-
Alexandre Julliard