mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
Don't load state tracker if not necessary.
This commit is contained in:
parent
9aab315045
commit
b2fba94850
@ -544,6 +544,9 @@ static bool load_textures(void)
|
||||
|
||||
static bool load_imports(void)
|
||||
{
|
||||
if (!cg_shader->variables)
|
||||
return true;
|
||||
|
||||
struct state_tracker_info tracker_info = {0};
|
||||
|
||||
for (unsigned i = 0; i < cg_shader->variables; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user