Fix build for D3D9.

This commit is contained in:
Themaister 2013-01-08 03:48:31 +01:00
parent 551a464978
commit e12f805708

View File

@ -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)
{