wined3d: Return early from shader_trace_init() when a NULL pFunction is passed.
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 8 Dec 2008 09:30:02 +0000 (10:30 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 8 Dec 2008 11:28:27 +0000 (12:28 +0100)
commit9887d66dad79cfbdb6945a5ae478a7fe5e3c8bc7
tree3c1b134c05edada9f712ced86b6bb8d5f33ac3af
parente18629bedd55e980fac09f595460efa6f8367138
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