From 0fc8497905d38060fb4dbed00ec8cc706a8030bb Mon Sep 17 00:00:00 2001 From: Triang3l Date: Sat, 19 Jan 2019 14:48:46 +0300 Subject: [PATCH] [D3D12] Fix debug config crash in back buffer stretching code --- src/xenia/gpu/d3d12/d3d12_graphics_system.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/gpu/d3d12/d3d12_graphics_system.cc b/src/xenia/gpu/d3d12/d3d12_graphics_system.cc index 5d0a3b97d..ef425a12f 100644 --- a/src/xenia/gpu/d3d12/d3d12_graphics_system.cc +++ b/src/xenia/gpu/d3d12/d3d12_graphics_system.cc @@ -106,7 +106,7 @@ X_STATUS D3D12GraphicsSystem::Setup(cpu::Processor* processor, stretch_root_gamma_ramp_range.NumDescriptors = 1; stretch_root_gamma_ramp_range.BaseShaderRegister = 1; stretch_root_gamma_ramp_range.RegisterSpace = 0; - stretch_root_texture_range.OffsetInDescriptorsFromTableStart = 0; + stretch_root_gamma_ramp_range.OffsetInDescriptorsFromTableStart = 0; stretch_root_parameters[1].DescriptorTable.pDescriptorRanges = &stretch_root_gamma_ramp_range; stretch_root_parameters[1].ShaderVisibility = D3D12_SHADER_VISIBILITY_PIXEL;