summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp
diff options
context:
space:
mode:
authorGravatar Charles Lombardo2023-08-22 19:49:02 -0400
committerGravatar Charles Lombardo2023-08-29 19:42:41 -0400
commit369d06292fae1ac37dfb2863deb16978f29094ad (patch)
treebf4c56fa33c0e2e15e47ba72b5c624268c6ec219 /src/shader_recompiler/backend/glsl/emit_glsl_image.cpp
parentandroid: Migrate settings to navigation component (diff)
downloadyuzu-369d06292fae1ac37dfb2863deb16978f29094ad.tar.gz
yuzu-369d06292fae1ac37dfb2863deb16978f29094ad.tar.xz
yuzu-369d06292fae1ac37dfb2863deb16978f29094ad.zip
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/backend/glsl/emit_glsl_image.cpp')
0 files changed, 0 insertions, 0 deletions