mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Updating d3d9 from winehq.org cvs/git date 27/11-2007
svn path=/trunk/; revision=30816
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user