mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
video_shader_set_backend - cleanup
This commit is contained in:
parent
c04122d385
commit
8966f46d36
@ -48,9 +48,7 @@ static const shader_backend_t *video_shader_set_backend(enum rarch_shader_type t
|
|||||||
if (flags.flags && (1UL << GFX_CTX_FLAGS_GL_CORE_CONTEXT))
|
if (flags.flags && (1UL << GFX_CTX_FLAGS_GL_CORE_CONTEXT))
|
||||||
{
|
{
|
||||||
RARCH_ERR("[Shader driver]: Cg cannot be used with core GL context. Trying to fall back to GLSL...\n");
|
RARCH_ERR("[Shader driver]: Cg cannot be used with core GL context. Trying to fall back to GLSL...\n");
|
||||||
#ifdef HAVE_GLSL
|
return video_shader_set_backend(RARCH_SHADER_GLSL);
|
||||||
return &gl_glsl_backend;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user