VideoCommon: Move abstract texture creation function to Renderer

This commit is contained in:
Stenzek
2017-09-30 16:25:36 +10:00
parent 5860c97144
commit 49a9c33bd7
24 changed files with 49 additions and 36 deletions

View File

@ -22,6 +22,13 @@ enum class AbstractTextureFormat : u32
struct TextureConfig
{
constexpr TextureConfig() = default;
constexpr TextureConfig(u32 width_, u32 height_, u32 levels_, u32 layers_,
AbstractTextureFormat format_, bool rendertarget_)
: width(width_), height(height_), levels(levels_), layers(layers_), format(format_),
rendertarget(rendertarget_)
{
}
bool operator==(const TextureConfig& o) const;
MathUtil::Rectangle<int> GetRect() const;