mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
(D3D9 Cg) Update
This commit is contained in:
parent
9ef75473e0
commit
8d6aafde95
@ -193,6 +193,14 @@ static bool d3d9_cg_load_program(void *data,
|
||||
const char **vertex_opts = cgD3D9GetOptimalOptions(vertex_profile);
|
||||
cg_renderchain_t *cg_data = (cg_renderchain_t*)data;
|
||||
|
||||
if (
|
||||
fragment_profile == CG_PROFILE_UNKNOWN ||
|
||||
vertex_profile == CG_PROFILE_UNKNOWN)
|
||||
{
|
||||
RARCH_ERR("Invalid profile type\n");
|
||||
goto error;
|
||||
}
|
||||
|
||||
RARCH_LOG("[D3D Cg]: Vertex profile: %s\n", cgGetProfileString(vertex_profile));
|
||||
RARCH_LOG("[D3D Cg]: Fragment profile: %s\n", cgGetProfileString(fragment_profile));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user