mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-16 05:37:11 +00:00
use shared_ptr consistently
This commit is contained in:
@@ -276,7 +276,7 @@ void display_data::set_projection(int ed) {
|
||||
matched_programs[id] = selected;
|
||||
}
|
||||
|
||||
if(glhr::current_glprogram != selected) full_enable(&*selected);
|
||||
if(glhr::current_glprogram != selected) full_enable(selected);
|
||||
|
||||
shader_flags = selected->shader_flags;
|
||||
auto cd = current_display;
|
||||
|
||||
Reference in New Issue
Block a user