X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=resource_pool.cpp;h=4f2cc2b9ade1e6cc98ec50b50eb30fccbd550a55;hp=81a6bd4afc7f1f09f8083d9eef02e2ec8e5c679d;hb=cfc161e0289c2169d4835c48751ff56b97355eb2;hpb=0fa51e08f83e0283337216f5b951b3d5a8c0555b diff --git a/resource_pool.cpp b/resource_pool.cpp index 81a6bd4..4f2cc2b 100644 --- a/resource_pool.cpp +++ b/resource_pool.cpp @@ -14,6 +14,8 @@ using namespace std; +namespace movit { + ResourcePool::ResourcePool(size_t program_freelist_max_length, size_t texture_freelist_max_bytes) : program_freelist_max_length(program_freelist_max_length), @@ -258,3 +260,5 @@ size_t ResourcePool::estimate_texture_size(const Texture2D &texture_format) return texture_format.width * texture_format.height * bytes_per_pixel; } + +} // namespace movit