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

Christoph Bumiller e0425955 at stud3.tuwien.ac.at
Thu Jan 4 13:58:57 CST 2007


Yet the application (NFS:MW) page faults right at startup at the 
address of pDecl + 4 so something's amiss ... maybe this will get fixed 
automatically in one of the next patches or is due to some other weird 
thing that affects my sources (eh?) ... as long as no one else 
complains, lets leave it at this.

Just look again at the SetPixelShader function, this is how it looks in 
my current GIT (I didn't touch this one) :

3758     /* Handle recording of state blocks */
3759     if (This->isRecordingState) {
3760         TRACE("Recording... not performing anything\n");
3761     }
3762 3763     if (NULL != pShader) {
3764         IWineD3DPixelShader_AddRef(pShader);
3765     }
3766     if (NULL != oldShader) {
3767         IWineD3DPixelShader_Release(oldShader);
3768     }
3769 3770     if (This->isRecordingState) {
3771         TRACE("Recording... not performing anything\n");
3772         return WINED3D_OK;
3773     }
3774 3775     if(pShader == oldShader) {
3776         TRACE("App is setting the old pixel shader over, nothing 
to do\n");
3777         return WINED3D_OK;
3778     }




More information about the wine-devel mailing list