[5/6] ddraw: fix palette copying when destination palette is NULL

Stefan Dösinger stefan at codeweavers.com
Tue Jan 1 16:42:21 CST 2008

Am Dienstag, 1. Januar 2008 21:53:02 schrieb H. Verbeet:
> Unless you actually want to test the exact return value, you should
> use SUCCEEDED / FAILED. Some of the tests do get this wrong,
> unfortunately.
I usually test against the exact return value(D3D_OK) in the ok() statements, 
and SUCCEEDED / FAILED when deciding the codepath the test takes(e.g. 
if(SUCCEEDED(BeginScene())) )

More information about the wine-devel mailing list