mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-01 03:32:07 +00:00
d3d12: Do not init D2DStruct if uneeded
This commit is contained in:
parent
72e5578595
commit
5f08cca849
@ -318,7 +318,8 @@ D3D12GSRender::D3D12GSRender()
|
||||
m_vertexIndexData.Init(m_device.Get(), 1024 * 1024 * 384, D3D12_HEAP_TYPE_UPLOAD, D3D12_HEAP_FLAG_ALLOW_ONLY_BUFFERS);
|
||||
m_textureUploadData.Init(m_device.Get(), 1024 * 1024 * 256, D3D12_HEAP_TYPE_UPLOAD, D3D12_HEAP_FLAG_ALLOW_ONLY_BUFFERS);
|
||||
|
||||
InitD2DStructures();
|
||||
if (Ini.GSOverlay.GetValue())
|
||||
InitD2DStructures();
|
||||
}
|
||||
|
||||
D3D12GSRender::~D3D12GSRender()
|
||||
|
Loading…
Reference in New Issue
Block a user