(D3D12) silence warning.

This commit is contained in:
aliaspider 2018-02-12 01:29:44 +01:00
parent 98682197c9
commit 8a93e8d503
2 changed files with 2 additions and 0 deletions

View File

@ -474,6 +474,7 @@ void d3d12_init_samplers(d3d12_video_t* d3d12)
{
switch (i)
{
default:
case RARCH_WRAP_BORDER:
desc.AddressU = D3D12_TEXTURE_ADDRESS_MODE_BORDER;
break;

View File

@ -1320,6 +1320,7 @@ static bool d3d12_gfx_frame(
switch (texture_sem->wrap)
{
default:
case RARCH_WRAP_BORDER:
desc.AddressU = D3D12_TEXTURE_ADDRESS_MODE_BORDER;
break;