H. Verbeet : wined3d: Return the correct vertex declaration.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Dec 14 05:23:29 CST 2005
Module: wine
Branch: refs/heads/master
Commit: dabcbe83e79eae3950385adffbc1108b1d19b57d
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=dabcbe83e79eae3950385adffbc1108b1d19b57d
Author: H. Verbeet <hverbeet at gmail.com>
Date: Wed Dec 14 10:50:27 2005 +0100
wined3d: Return the correct vertex declaration.
In IWineD3DDeviceImpl_GetVertexDeclaration, return the vertex
declaration in This->stateblock instead of the one in
This->updateStateBlock.
---
dlls/wined3d/device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index a9c253f..bb9247b 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -3754,7 +3754,7 @@ HRESULT WINAPI IWineD3DDeviceImpl_GetVer
TRACE("(%p) : ppDecl=%p\n", This, ppDecl);
- *ppDecl = This->updateStateBlock->vertexDecl;
+ *ppDecl = This->stateBlock->vertexDecl;
if (NULL != *ppDecl) IWineD3DVertexDeclaration_AddRef(*ppDecl);
return D3D_OK;
}
More information about the wine-cvs
mailing list