make sure that old global resources are recreated on init in case the context has been recreated.
make sure that old global resources are recreated on init in case the context has been recreated.

pupil-labs/cygl,pupil-labs/cygl,pupil-labs/cygl