Module: wine
Branch: master
Commit: 70968e69acfbde63fe7a2e5bc61c09ac41d2a5e5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=70968e69acfbde63fe7a2e5bc…
Author: Henri Verbeet <hverbeet(a)codeweavers.com>
Date: Tue Dec 2 18:41:33 2008 +0100
wined3d: Use a bitmask to store which bool and int constants are set.
Note that constants_set was never actually NULL for
shader_glsl_load_constantsB() and shader_glsl_load_constantsI().
---
dlls/wined3d/device.c | 28 ++++++++------
dlls/wined3d/glsl_shader.c | 80 +++++++++++++++++----------------------
dlls/wined3d/stateblock.c | 16 ++++----
dlls/wined3d/wined3d_private.h | 8 ++--
4 files changed, 63 insertions(+), 69 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=70968e69acfbde63fe7a2…