mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-21 13:28:05 +00:00
clear shaders on resetGL
This commit is contained in:
@@ -102,7 +102,7 @@ struct raycaster : glhr::GLprogram {
|
||||
|
||||
shared_ptr<raycaster> our_raycaster;
|
||||
|
||||
void reset_raycaster() { our_raycaster = nullptr; };
|
||||
EX void reset_raycaster() { our_raycaster = nullptr; };
|
||||
|
||||
void enable_raycaster() {
|
||||
if(!our_raycaster) {
|
||||
|
||||
Reference in New Issue
Block a user