Skip to content

Commit

Permalink
(D3D12) silence warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
aliaspider committed Feb 12, 2018
1 parent 9868219 commit 8a93e8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions gfx/common/d3d12_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions gfx/drivers/d3d12.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8a93e8d

Please sign in to comment.