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:
@@ -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