From 654dc1bfc94adc473fe5ff269b838d6c3f96c7b2 Mon Sep 17 00:00:00 2001 From: PatrickvL Date: Mon, 9 Apr 2018 10:51:18 +0200 Subject: [PATCH] Added missing depth argument to ConvertD3DTextureToARGBBuffer call, and reordered unswizzle arguments --- src/CxbxKrnl/EmuD3D8/Convert.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CxbxKrnl/EmuD3D8/Convert.h b/src/CxbxKrnl/EmuD3D8/Convert.h index dc34fa0a6..ad4dbce03 100755 --- a/src/CxbxKrnl/EmuD3D8/Convert.h +++ b/src/CxbxKrnl/EmuD3D8/Convert.h @@ -239,7 +239,7 @@ inline D3DPRIMITIVETYPE EmuXB2PC_D3DPrimitiveType(X_D3DPRIMITIVETYPE PrimitiveTy return EmuPrimitiveTypeLookup[PrimitiveType]; } -void XTL::EmuUnswizzleBox +extern void EmuUnswizzleBox ( CONST PVOID pSrcBuff, CONST DWORD dwWidth, @@ -248,7 +248,7 @@ void XTL::EmuUnswizzleBox CONST DWORD dwBytesPerPixel, CONST PVOID pDstBuff, CONST DWORD dwDstRowPitch, - CONST DWORD dwDstSlicePitch, + CONST DWORD dwDstSlicePitch ); // NOPATCH // From : https://www.virtualbox.org/svn/vbox/trunk/src/VBox/Additions/x11/x11include/libdrm-2.4.13/nouveau_class.h