mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
Updating d3d9 from winehq.org cvs/git date 27/11-2007
svn path=/trunk/; revision=30816
This commit is contained in:
parent
e215ac24f1
commit
4223e8ab74
1 changed files with 2 additions and 0 deletions
|
@ -603,6 +603,7 @@ static HRESULT WINAPI IDirect3DDevice9Impl_GetDepthStencilSurface(LPDIRECT3DDE
|
|||
}
|
||||
} else {
|
||||
WARN("Call to IWineD3DDevice_GetDepthStencilSurface failed\n");
|
||||
*ppZStencilSurface = NULL;
|
||||
}
|
||||
LeaveCriticalSection(&d3d9_cs);
|
||||
return hr;
|
||||
|
@ -1127,6 +1128,7 @@ IDirect3DVertexDeclaration9 *getConvertedDecl(IDirect3DDevice9Impl *This, DWORD
|
|||
if (hr != S_OK) return NULL;
|
||||
|
||||
hr = IDirect3DDevice9Impl_CreateVertexDeclaration((IDirect3DDevice9 *) This, elements, &pDecl);
|
||||
HeapFree(GetProcessHeap(), 0, elements); /* CreateVertexDeclaration makes a copy */
|
||||
if (hr != S_OK) return NULL;
|
||||
|
||||
if(This->declArraySize == This->numConvertedDecls) {
|
||||
|
|
Loading…
Reference in a new issue