1
0
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:
Zeno Rogue
2019-10-22 00:36:44 +02:00
parent d7a8cbe0be
commit 655af58ae1
2 changed files with 5 additions and 5 deletions

View File

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