X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Ftexture_backend.h;h=0907fea058000fe849167ae1b36d385dff479dbc;hp=dad8834b2940487d1c2b0bbc3676b5e633b26b5a;hb=eddb5cfd959eaa202ee6f95cd2049349ec920829;hpb=d0df3ba82b187705331e2cc55d515c2d44e7f466 diff --git a/source/backends/vulkan/texture_backend.h b/source/backends/vulkan/texture_backend.h index dad8834b..0907fea0 100644 --- a/source/backends/vulkan/texture_backend.h +++ b/source/backends/vulkan/texture_backend.h @@ -32,11 +32,10 @@ protected: void stage_pixels(void *, const void *, size_t); - virtual void generate_mipmap() = 0; - void generate_mipmap_levels(unsigned); + void generate_mipmap(); virtual void fill_mipmap_blit(unsigned, void *) = 0; - void change_layout(unsigned, int, unsigned, bool) const; + void change_layout(int, unsigned, bool) const; void set_debug_name(const std::string &); void set_vulkan_object_names() const;