]> git.tdb.fi Git - libs/gl.git/blobdiff - demos/desertpillars/source/desertpillars.h
Use asynchronous resource loading in desertpillars
[libs/gl.git] / demos / desertpillars / source / desertpillars.h
index 0a3f2f2e336481598920722b76305d156dd5a80d..4e4780991275243ebcc5abdc94e69c833e55c7c2 100644 (file)
@@ -36,9 +36,10 @@ private:
        {
        private:
                Msp::DataFile::DirectorySource source;
+               Msp::GL::ResourceManager res_mgr;
 
        public:
-               Resources();
+               Resources(Msp::GL::ResourceManager *);
        };
 
        class MorphSphere: public Msp::GL::ObjectInstance
@@ -70,6 +71,7 @@ private:
        Msp::Graphics::Window window;
        Msp::Graphics::GLContext gl_ctx;
        Msp::Input::Keyboard keyboard;
+       Msp::GL::ResourceManager res_mgr;
        Resources resources;
 
        Msp::GL::WindowView view;