mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
fixed arb and fake without CAP_TEXTURE
This commit is contained in:
parent
0f6ec6e6f5
commit
8ec8ebc1d7
@ -868,7 +868,9 @@ EX void sliders_changed() {
|
|||||||
load(current.filename, true);
|
load(current.filename, true);
|
||||||
using_slided = true;
|
using_slided = true;
|
||||||
slider_error = "OK";
|
slider_error = "OK";
|
||||||
|
#if CAP_TEXTURE
|
||||||
texture::config.remap();
|
texture::config.remap();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
catch(hr_parse_exception& ex) {
|
catch(hr_parse_exception& ex) {
|
||||||
using_slided = false;
|
using_slided = false;
|
||||||
|
2
fake.cpp
2
fake.cpp
@ -461,7 +461,9 @@ EX void change_around() {
|
|||||||
View = rgpushxto0(direct_exp(h)) * T;
|
View = rgpushxto0(direct_exp(h)) * T;
|
||||||
fixmatrix(View);
|
fixmatrix(View);
|
||||||
sightranges[gFake] = range * t;
|
sightranges[gFake] = range * t;
|
||||||
|
#if CAP_TEXTURE
|
||||||
texture::config.remap();
|
texture::config.remap();
|
||||||
|
#endif
|
||||||
geom3::apply_always3();
|
geom3::apply_always3();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user