X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Fmemoryallocator.h;h=4715bea8311a2f88db74919f24af71005b72a18c;hb=a9b6dba74b595361df3d9c934e479ccf83ad91a1;hp=b7603f1586a069c82307b219f110a53f1c3b0e61;hpb=99ca354f18119f82f1adeca100cd665a8f640317;p=libs%2Fgl.git diff --git a/source/backends/vulkan/memoryallocator.h b/source/backends/vulkan/memoryallocator.h index b7603f15..4715bea8 100644 --- a/source/backends/vulkan/memoryallocator.h +++ b/source/backends/vulkan/memoryallocator.h @@ -45,10 +45,9 @@ private: public: unsigned allocate(VkBuffer, MemoryType); + unsigned allocate(VkImage, MemoryType); void release(unsigned); - std::size_t get_allocation_size(unsigned) const; - void *map(unsigned, std::size_t, std::size_t); void unmap(void *); };