mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-05-20 04:52:06 +00:00
clear shaders on resetGL
This commit is contained in:
+1
-1
@@ -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