From 8ec8ebc1d769b159d637bd426f51ba4d2628a321 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 6 Jun 2020 18:42:58 +0200 Subject: [PATCH] fixed arb and fake without CAP_TEXTURE --- arbitrile.cpp | 2 ++ fake.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arbitrile.cpp b/arbitrile.cpp index 331426ce..18e0b516 100644 --- a/arbitrile.cpp +++ b/arbitrile.cpp @@ -868,7 +868,9 @@ EX void sliders_changed() { load(current.filename, true); using_slided = true; slider_error = "OK"; + #if CAP_TEXTURE texture::config.remap(); + #endif } catch(hr_parse_exception& ex) { using_slided = false; diff --git a/fake.cpp b/fake.cpp index 937cdd01..583e92f9 100644 --- a/fake.cpp +++ b/fake.cpp @@ -461,7 +461,9 @@ EX void change_around() { View = rgpushxto0(direct_exp(h)) * T; fixmatrix(View); sightranges[gFake] = range * t; + #if CAP_TEXTURE texture::config.remap(); + #endif geom3::apply_always3(); }