mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 07:39:17 +00:00
D3D9: Make sure to use powers of two as render target dimensions if it's needed by the device.
Some other cleanups. Possibly fixes issue 3256. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6725 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
4b15325acd
commit
ecf92f5c3c
9 changed files with 69 additions and 64 deletions
|
@ -33,25 +33,6 @@ FramebufferManager::Efb FramebufferManager::s_efb;
|
|||
|
||||
FramebufferManager::FramebufferManager()
|
||||
{
|
||||
s_efb.color_texture = NULL;
|
||||
s_efb.colorRead_texture = NULL;
|
||||
s_efb.depth_texture = NULL;
|
||||
s_efb.depthRead_texture = NULL;
|
||||
|
||||
s_efb.depth_surface = NULL;
|
||||
s_efb.color_surface = NULL;
|
||||
s_efb.color_ReadBuffer = NULL;
|
||||
s_efb.depth_ReadBuffer = NULL;
|
||||
s_efb.color_OffScreenReadBuffer = NULL;
|
||||
s_efb.depth_OffScreenReadBuffer = NULL;
|
||||
|
||||
s_efb.color_reinterpret_texture = NULL;
|
||||
s_efb.color_reinterpret_surface = NULL;
|
||||
|
||||
s_efb.color_surface_Format = D3DFMT_FORCE_DWORD;
|
||||
s_efb.depth_surface_Format = D3DFMT_FORCE_DWORD;
|
||||
s_efb.depth_ReadBuffer_Format = D3DFMT_FORCE_DWORD;
|
||||
|
||||
// Simplest possible setup to start with.
|
||||
int target_width = Renderer::GetFullTargetWidth();
|
||||
int target_height = Renderer::GetFullTargetHeight();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue