[d3d9/tests/stateblock.c] Don't crash on error

Paul Vriens Paul.Vriens at xs4all.nl
Sun Dec 18 13:08:40 CST 2005


Hi,

don't crash when device_ptr == NULL. Failure is already reported so we
can bail out with a return.

Changelog
  Don't crash on NULL device_ptr.

Cheers,

Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d3d9_stateblock_2.c.diff
Type: text/x-patch
Size: 334 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051218/e4039753/d3d9_stateblock_2.c.diff


More information about the wine-patches mailing list