Merge pull request #6291 from aliaspider/master

(D3D12) silence warning.
This commit is contained in:
Twinaphex 2018-02-12 01:32:16 +01:00 committed by GitHub
commit 34edaaf98b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;