[2/8] WineD3D: Catch NOP vertex declaration changes

Christoph Bumiller e0425955 at stud3.tuwien.ac.at
Thu Jan 4 10:04:00 CST 2007

Not performing the following:

    if (NULL != pDecl) {

in IWineD3DDeviceImpl_SetVertexDeclaration(...) when state is being 
recorded (note the return that was added), seems to cause a page fault, 
at least in NFS: Most Wanted. Is it possible that not adding a 
reference here causes the declaration object to be deallocated to 
early, when it is still used by the application ?

More information about the wine-devel mailing list