N64: Fix jabo's framebuffer problems!

This commit is contained in:
pjgat09 2014-08-25 22:41:50 +00:00
parent 084ed67742
commit 0a52315574
2 changed files with 6 additions and 2 deletions

View File

@ -172,15 +172,19 @@ extern "C"
{
LOG("IDirect3DDevice8::GetBackBuffer( " << BackBuffer << " , " << Type << " , " << ppBackBuffer << " ) [ " << this << " ]\n");
/*
D3D8Base::IDirect3DSurface8* realD3D = NULL;
HRESULT hr = m_pDevice->GetBackBuffer(BackBuffer,Type,&realD3D);
D3D8Wrapper::IDirect3DSurface8* wrappedD3D = D3D8Wrapper::IDirect3DSurface8::GetSurface(realD3D);
*/
*ppBackBuffer = wrappedD3D;
// Return a pointer to our render surface, not the back buffer
*ppBackBuffer = render_surface;// wrappedD3D;
render_surface->m_ulRef++;
return hr;
return S_OK;
}
STDMETHODIMP D3D8Wrapper::IDirect3DDevice8::GetRasterStatus(D3D8Base::D3DRASTER_STATUS* pRasterStatus)

Binary file not shown.