Henri Verbeet : wined3d: Get rid of redundant comparisons against NULL / 0.
Module: wine Branch: master Commit: b68d257710ba6bbac33f1470df98efe7c81050e4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b68d257710ba6bbac33f1470df... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Tue Sep 14 13:38:39 2010 +0200 wined3d: Get rid of redundant comparisons against NULL / 0. --- dlls/wined3d/arb_program_shader.c | 128 +++++++++++++++----------------- dlls/wined3d/ati_fragment_shader.c | 18 ++-- dlls/wined3d/basetexture.c | 6 +- dlls/wined3d/buffer.c | 8 +- dlls/wined3d/clipper.c | 11 +-- dlls/wined3d/device.c | 142 ++++++++++++++++++++---------------- dlls/wined3d/directx.c | 29 ++++--- dlls/wined3d/drawprim.c | 40 +++++----- dlls/wined3d/glsl_shader.c | 28 ++++--- dlls/wined3d/palette.c | 6 +- dlls/wined3d/query.c | 6 +- dlls/wined3d/resource.c | 15 ++-- dlls/wined3d/shader.c | 6 +- dlls/wined3d/state.c | 26 ++++--- dlls/wined3d/stateblock.c | 7 +- dlls/wined3d/surface.c | 34 ++++---- dlls/wined3d/surface_base.c | 25 ++++--- dlls/wined3d/swapchain.c | 4 +- dlls/wined3d/swapchain_base.c | 6 +- dlls/wined3d/utils.c | 2 +- dlls/wined3d/volume.c | 4 +- dlls/wined3d/wined3d_main.c | 14 ++-- dlls/wined3d/wined3d_private.h | 2 +- 23 files changed, 299 insertions(+), 268 deletions(-) Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=b68d257710ba6bbac33f14...
participants (1)
-
Alexandre Julliard