summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/program_header.h
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-08-22 19:49:02 -0400
committerCharles Lombardo <clombardo169@gmail.com>2023-08-29 19:42:41 -0400
commit369d06292fae1ac37dfb2863deb16978f29094ad (patch)
treebf4c56fa33c0e2e15e47ba72b5c624268c6ec219 /src/shader_recompiler/program_header.h
parent95a939a49f798c2b4b04d6f8eae33c1d093d43b4 (diff)
android: Prevent infinite switch toggle loop
If something like a lifecycle event happens when this switch is toggled (Ex. whenever the black backgrounds switch is toggled), this could move the switch from the default position and trigger the checked changed listener and restart the loop. Here I just removed the listener at the start so we recycle the view properly still, set the checked state and then add the new listener.
Diffstat (limited to 'src/shader_recompiler/program_header.h')
0 files changed, 0 insertions, 0 deletions