1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-12 03:33:00 +00:00

fixed renderer problem

This commit is contained in:
Zeno Rogue
2019-12-06 14:45:35 +01:00
parent 225c43b141
commit 0b385dd7f4
2 changed files with 4 additions and 1 deletions

View File

@@ -303,6 +303,8 @@ void display_data::set_projection(int ed) {
id <<= 6; id |= spherephase;
id <<= 1; if(vid.consider_shader_projection) id |= 1;
id <<= 2; id |= (spherespecial & 3);
if(in_h2xe()) id |= 1;
if(in_s2xe()) id |= 2;
shared_ptr<glhr::GLprogram> selected;
if(matched_programs.count(id)) selected = matched_programs[id];