[d3d9] VertexDeclaration support

Ann and Jason Edmeades us at the-edmeades.demon.co.uk
Thu Jan 27 15:51:35 CST 2005

Hi Raphael,

Get/SetRenderTarget in d3d9 cant be right - if has to go through wined3d, as
it's the only person who knows the front/back buffer etc. You don't want
This->renderTarget at all at the d3d9 level

The same issue later, 
+	if (NULL == pDeviceImpl->backBuffer) {
+	  pDeviceImpl->backBuffer = d3dSurface;
+	  pDeviceImpl->renderTarget = d3dSurface;

Note in the call to IWineD3DDevice_CreateVertexDeclaration you passed
through 9, I assume for the dx level, but we store that in the device or
directx impl already (cant remember which).

In the wined3d version:

Also, in the wined3d version please, please try to avoid using tabs, and use
spaces instead - the rest of the file does (unless I missed some as I
transferred them). Tabs are a real pain to work with if you ask me


More information about the wine-devel mailing list