Henri Verbeet : wined3d: Return early from shader_trace_init() when a NULL pFunction is passed.

Alexandre Julliard julliard at winehq.org
Mon Dec 8 09:46:27 CST 2008


Module: wine
Branch: master
Commit: 9887d66dad79cfbdb6945a5ae478a7fe5e3c8bc7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9887d66dad79cfbdb6945a5ae478a7fe5e3c8bc7

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Dec  8 10:30:02 2008 +0100

wined3d: Return early from shader_trace_init() when a NULL pFunction is passed.

This is mainly to reduce the size and indentation level of the if-block.

---

 dlls/wined3d/baseshader.c |  282 +++++++++++++++++++++++---------------------
 1 files changed, 147 insertions(+), 135 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=9887d66dad79cfbdb6945a5ae478a7fe5e3c8bc7



More information about the wine-cvs mailing list