[PATCH 3/3] ddraw/tests: Add tests for IDirect3DDevice7_Load.

Stefan Dösinger stefan at codeweavers.com
Tue May 6 03:31:47 CDT 2008


Am Montag, 5. Mai 2008 23:49:34 schrieb Alexander Dorofeyev:
> +    /* Freed in reverse order as native seems to dislike and crash on
> freeing top level surface first. */
just fyi, native ignores refcounts on sublevels(if they are created as complex 
surface, not attached). As long as the top level exists, you can release the 
sublevels into oblivion if you want to, they'll stay around. If the top level 
is destroyed, the sublevels are destroyed regardless of their refcounts. 
There are some tests for this behavior in dsurface.c, and Wine does the same 
essentially.

A very extensive test, wow!



More information about the wine-devel mailing list