[PATCH] wined3d: When releasing resources, don't perform any other operations on device if it has been released.

Christian Costa titan.costa at gmail.com
Sat Mar 31 16:30:47 CDT 2012


Le 31/03/2012 22:46, Henri Verbeet a écrit :
> This looks wrong. Is there a legitimate way that this can happen?
>
>
>
The FIXME in wined3d_device_decref says :

FIXME("Device released with resources still bound, acceptable but 
unexpected.\n");

If this is "acceptable", resources must not use the device afterwards 
because it's released.

If it's legitimate ? I don't know. The game craches when exiting. This 
may be due to a bad objects and resources freeing.
Do you have a better idea ?

Btw, the problem is easily reproductible. The bugzlla entry contain the 
download link.

Christian




More information about the wine-devel mailing list