mirror of
https://github.com/libretro/RetroArch
synced 2025-02-19 12:41:00 +00:00
Fix build for D3D9.
This commit is contained in:
parent
551a464978
commit
e12f805708
@ -1213,8 +1213,12 @@ static bool d3d9_read_viewport(void *data, uint8_t *buffer)
|
||||
return reinterpret_cast<D3DVideo*>(data)->read_viewport(buffer);
|
||||
}
|
||||
|
||||
static bool d3d9_set_shader(void *data, enum rarch_shader_type type, const char *path)
|
||||
static bool d3d9_set_shader(void *data, enum rarch_shader_type type, const char *path, unsigned index)
|
||||
{
|
||||
// TODO: Add support for directly setting this param.
|
||||
if (index != RARCH_SHADER_INDEX_MULTIPASS)
|
||||
return false;
|
||||
|
||||
#ifdef HAVE_CG
|
||||
if (type != RARCH_SHADER_CG)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user