1
0
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:
Zeno Rogue
2019-10-26 17:02:20 +02:00
parent 2645eae237
commit 68c7514c2c
3 changed files with 7 additions and 3 deletions

View File

@@ -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) {