D3D: Use common GetEFBLayers() instead of GetEFBSlices().
This commit is contained in:
1 parent
9d9bd5341d
commit
cf12c93c86
3 files changed
+3
-5
No files matched your search
@@ -192,7 +192,7 @@ TextureCache::TCacheEntryBase* TextureCache::CreateRenderTargetTexture(
|
||||
{
|
||||
return new TCacheEntry(D3DTexture2D::Create(scaled_tex_w, scaled_tex_h,
|
||||
(D3D11_BIND_FLAG)((int)D3D11_BIND_RENDER_TARGET | (int)D3D11_BIND_SHADER_RESOURCE),
|
||||
D3D11_USAGE_DEFAULT, DXGI_FORMAT_R8G8B8A8_UNORM, 1, FramebufferManager::GetEFBSlices()));
|
||||
D3D11_USAGE_DEFAULT, DXGI_FORMAT_R8G8B8A8_UNORM, 1, FramebufferManager::GetEFBLayers()));
|
||||
}
|
||||
|
||||
TextureCache::TextureCache()
|
||||
|
||||
Reference in new issue
Block a user