mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(HLSL) Cleanup hlsl_filter_type too
This commit is contained in:
parent
4c6fa4f059
commit
ca004c370c
@ -395,10 +395,9 @@ static unsigned hlsl_num(void)
|
||||
|
||||
static bool hlsl_filter_type(unsigned index, bool *smooth)
|
||||
{
|
||||
if (hlsl_active && index)
|
||||
if (hlsl_active && index
|
||||
&& (cg_shader->pass[index - 1].filter != RARCH_FILTER_UNSPEC))
|
||||
{
|
||||
if (cg_shader->pass[index - 1].filter == RARCH_FILTER_UNSPEC)
|
||||
return false;
|
||||
*smooth = cg_shader->pass[index - 1].filter = RARCH_FILTER_LINEAR;
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user