d3d [1]: Remove AddRef from IWineD3DDevice_GetVertexDeclaration.

Robert Shearman rob at codeweavers.com
Wed Nov 22 08:55:38 CST 2006


Markus Amsler wrote:
> @@ -4704,7 +4704,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl
>      TRACE("(%p) : ppDecl=%p\n", This, ppDecl);
>  
>      *ppDecl = This->stateBlock->vertexDecl;
> -    if (NULL != *ppDecl) IWineD3DVertexDeclaration_AddRef(*ppDecl);
>      return WINED3D_OK;
>   

These patches violate COM rules. Is this for performance or other reasons?

-- 
Rob Shearman




More information about the wine-devel mailing list