make ShaderReloader work without using gui constructor first
KrabCode opened this issue · 1 comments
KrabCode commented
You get unhelpful NRE errors when you try to use the ShaderReloader without initializing the gui
TODO:
-
detect that the PApplet reference is missing and make the error helpful
-
allow initializing only the ShaderReloader when you don't want to use the gui at all, require the user to do something like
ShaderReloader.init(this)
insetup()
KrabCode commented
Maybe call the init function something else, like setApplet(this)