mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-25 10:24:26 +00:00
fixed a crash in some situations
This commit is contained in:
1 parent
6bc9414cfa
commit
f77d733700
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user