1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-21 08:04:48 +00:00

fixed a crash in some situations

This commit is contained in:
Zeno Rogue
2025-11-11 18:39:29 +01:00
parent 6bc9414cfa
commit f77d733700

View File

@@ -666,6 +666,7 @@ void display_data::set_projection(int ed, ld shift) {
}
if(glhr::current_glprogram != selected) full_enable(selected);
if(!vid.usingGL) return;
shader_flags = selected->shader_flags;
auto cd = current_display;