1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

fixed a bug with texturing in stereo

This commit is contained in:
Zeno Rogue 2019-06-24 22:30:22 +02:00
parent 3a4e84effe
commit ff584bb74c
2 changed files with 4 additions and 0 deletions

View File

@ -978,6 +978,8 @@ void make_floor_textures() {
dynamicval<ld> gd(vid.depth, 1);
dynamicval<ld> gc(vid.camera, 1);
dynamicval<geometry_information*> dcgip(cgip, cgip);
dynamicval<eStereo> gvs(vid.stereo_mode, sOFF);
dynamicval<int> vgp(global_projection, 0);
check_cgi();
cgi.make_floor_textures_here();
}

View File

@ -5554,4 +5554,6 @@ static const int PSEUDOKEY_MEMORY = 16397;
static const color_t NOCOLOR = 0;
extern int global_projection;
}