mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-03 00:28:27 +00:00
(MSVC D3D9) Change gfx enum filter type to unsigned
This commit is contained in:
parent
89cedb70df
commit
0b7fe7c9df
@ -16,7 +16,7 @@
|
||||
#include "render_chain.hpp"
|
||||
#include <string.h>
|
||||
|
||||
static inline D3DTEXTUREFILTERTYPE translate_filter(enum gfx_filter_type type)
|
||||
static inline D3DTEXTUREFILTERTYPE translate_filter(unsigned type)
|
||||
{
|
||||
if (type == RARCH_FILTER_UNSPEC)
|
||||
return g_settings.video.smooth ? D3DTEXF_LINEAR : D3DTEXF_POINT;
|
||||
|
@ -119,7 +119,7 @@ void renderchain_start_render(void *data);
|
||||
void renderchain_end_render(void *data);
|
||||
bool renderchain_render(void *chain_data, const void *data,
|
||||
unsigned width, unsigned height, unsigned pitch, unsigned rotation);
|
||||
D3DTEXTUREFILTERTYPE renderchain_translate_filter(enum gfx_filter_type type);
|
||||
D3DTEXTUREFILTERTYPE renderchain_translate_filter(unsigned type);
|
||||
D3DTEXTUREFILTERTYPE renderchain_translate_filter(bool smooth);
|
||||
bool renderchain_create_first_pass(void *data, const LinkInfo *info, PixelFormat fmt);
|
||||
void renderchain_set_vertices(void *data, Pass &pass,
|
||||
|
Loading…
Reference in New Issue
Block a user