Take out HAVE_D3D ifdef

This commit is contained in:
twinaphex 2016-01-08 09:02:33 +01:00
parent b24ca80c92
commit 0314b1f811

View File

@ -1765,7 +1765,6 @@ static uintptr_t d3d_load_texture(void *video_data, void *data,
switch (filter_type) switch (filter_type)
{ {
#ifdef HAVE_D3D
case TEXTURE_FILTER_MIPMAP_LINEAR: case TEXTURE_FILTER_MIPMAP_LINEAR:
case TEXTURE_FILTER_MIPMAP_NEAREST: case TEXTURE_FILTER_MIPMAP_NEAREST:
func = video_texture_load_wrap_d3d_mipmap; func = video_texture_load_wrap_d3d_mipmap;
@ -1773,7 +1772,6 @@ static uintptr_t d3d_load_texture(void *video_data, void *data,
default: default:
func = video_texture_load_wrap_d3d; func = video_texture_load_wrap_d3d;
break; break;
#endif
} }
return rarch_threaded_video_texture_load(data, func); return rarch_threaded_video_texture_load(data, func);