X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=resource_pool.h;fp=resource_pool.h;h=85a5e52cd0de92a040bbd4f79f8e5e305aef5bf0;hp=2324abc48749993f8a79a276f40081a958ef3d56;hb=79f0ebd9606956e2988d9485b9d4c701e975c7f1;hpb=f34b1c36acd27944f00885edfc55363432bfec8e diff --git a/resource_pool.h b/resource_pool.h index 2324abc..85a5e52 100644 --- a/resource_pool.h +++ b/resource_pool.h @@ -197,7 +197,7 @@ private: // By default, will only contain the program itself, but due to cloning // (see use_glsl_program()), may grow. Programs are taken off this list // while they are in use (by use_glsl_program()). - std::map > program_instances; + std::map> program_instances; // For each program, the master program that created it // (inverse of program_instances). @@ -245,7 +245,7 @@ private: // the last element will be deleted. // // We store iterators directly into for efficiency. - std::map > fbo_freelist; + std::map> fbo_freelist; // Very similar, for VAOs. struct VAO { @@ -255,7 +255,7 @@ private: }; std::map, VAO> vao_formats; typedef std::map, VAO>::iterator VAOFormatIterator; - std::map > vao_freelist; + std::map> vao_freelist; // See the caveats at the constructor. static size_t estimate_texture_size(const Texture2D &texture_format);