mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-22 14:00:13 +00:00
rogueviz:: clear textures on hooks_resetGL
This commit is contained in:
parent
0b3980a5a4
commit
1c01cc7f94
@ -545,7 +545,11 @@ void launch_slideshow_by_name(string s) {
|
||||
});
|
||||
}
|
||||
|
||||
int runslide = arg::add3("-slides", [] {
|
||||
int runslide =
|
||||
addHook(hooks_resetGL, 100, [] {
|
||||
textures.clear();
|
||||
})
|
||||
+ arg::add3("-slides", [] {
|
||||
arg::shift(); launch_slideshow_by_name(arg::args());
|
||||
}) + arg::add3("-slide-textoff", [] {
|
||||
tour::texts = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user