mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Get rid of variable core_context_inited
This commit is contained in:
parent
d176f2d48f
commit
a22b99838d
@ -34,8 +34,7 @@ static const shader_backend_t *shader_ctx_drivers[] = {
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
static const shader_backend_t *video_shader_set_backend(enum rarch_shader_type type,
|
static const shader_backend_t *video_shader_set_backend(enum rarch_shader_type type)
|
||||||
bool core_context_inited)
|
|
||||||
{
|
{
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
@ -190,8 +189,7 @@ bool video_shader_driver_ctl(enum video_shader_driver_ctl_state state, void *dat
|
|||||||
|
|
||||||
if (!init->shader || !init->shader->init)
|
if (!init->shader || !init->shader->init)
|
||||||
{
|
{
|
||||||
init->shader = video_shader_set_backend(init->shader_type,
|
init->shader = video_shader_set_backend(init->shader_type);
|
||||||
init->gl.core_context_enabled);
|
|
||||||
|
|
||||||
if (!init->shader)
|
if (!init->shader)
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user