On 5 December 2013 23:14, Frédéric Delanoy frederic.delanoy@gmail.com wrote:
Note: in surface.c, used "?1:0" construct to avoid implicit BOOL arithmetic
dlls/wined3d/arb_program_shader.c | 19 +++++++++---------- dlls/wined3d/context.c | 20 ++++++++++---------- dlls/wined3d/device.c | 2 +- dlls/wined3d/gl_compat.c | 4 ++-- dlls/wined3d/shader.c | 20 ++++++++++---------- dlls/wined3d/stateblock.c | 22 +++++++++++----------- dlls/wined3d/surface.c | 8 ++++---- dlls/wined3d/utils.c | 8 ++++---- 8 files changed, 51 insertions(+), 52 deletions(-)
I don't think so, most of these are bitfields, and the surface.c change is actually making the code worse.