Remove now-unused variable

This commit is contained in:
Luke Usher 2019-05-04 20:31:27 +01:00
parent a8dfc34678
commit 57238afbe5
1 changed files with 0 additions and 4 deletions

View File

@ -109,10 +109,8 @@ static bool g_bHasStencil = false; // Does device have
static DWORD g_dwPrimPerFrame = 0; // Number of primitives within one frame
// primary push buffer
static uint32_t g_dwPrimaryPBCount = 0;
static uint32_t *g_pPrimaryPB = nullptr;
struct {
XTL::X_D3DSurface Surface;
RECT SrcRect;
@ -2615,7 +2613,6 @@ PDWORD WINAPI XTL::EMUPATCH(D3DDevice_BeginPush)(DWORD Count)
DWORD *pRet = new DWORD[Count];
g_dwPrimaryPBCount = Count;
g_pPrimaryPB = (uint32_t*)pRet;
return pRet;
@ -2641,7 +2638,6 @@ VOID WINAPI XTL::EMUPATCH(D3DDevice_BeginPush2)(DWORD Count, DWORD** ppPush)
DWORD *pRet = new DWORD[Count];
g_dwPrimaryPBCount = Count;
g_pPrimaryPB = (uint32_t*)pRet;
*ppPush=pRet;