Merge pull request #5647 from lioncash/abstract
AbstractTexture: Minor changes
This commit is contained in:
commit
c6417e0e78
|
@ -7,7 +7,6 @@
|
|||
#include "Common/CommonTypes.h"
|
||||
|
||||
#include "VideoCommon/AbstractTexture.h"
|
||||
#include "VideoCommon/VideoCommon.h"
|
||||
|
||||
class D3DTexture2D;
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include "Common/CommonTypes.h"
|
||||
|
||||
#include "VideoCommon/AbstractTexture.h"
|
||||
#include "VideoCommon/VideoCommon.h"
|
||||
|
||||
namespace Null
|
||||
{
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include "Common/GL/GLUtil.h"
|
||||
|
||||
#include "VideoCommon/AbstractTexture.h"
|
||||
#include "VideoCommon/VideoCommon.h"
|
||||
|
||||
namespace OGL
|
||||
{
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include "Common/CommonTypes.h"
|
||||
|
||||
#include "VideoCommon/AbstractTexture.h"
|
||||
#include "VideoCommon/VideoCommon.h"
|
||||
|
||||
namespace SW
|
||||
{
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include <vulkan/vulkan.h>
|
||||
|
||||
#include "VideoCommon/AbstractTexture.h"
|
||||
#include "VideoCommon/VideoCommon.h"
|
||||
|
||||
namespace Vulkan
|
||||
{
|
||||
|
|
|
@ -38,7 +38,7 @@ size_t AbstractTexture::CalculateHostTextureLevelPitch(AbstractTextureFormat for
|
|||
}
|
||||
}
|
||||
|
||||
const TextureConfig AbstractTexture::GetConfig() const
|
||||
const TextureConfig& AbstractTexture::GetConfig() const
|
||||
{
|
||||
return m_config;
|
||||
}
|
||||
|
|
|
@ -4,10 +4,12 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/MathUtil.h"
|
||||
#include "VideoCommon/TextureConfig.h"
|
||||
#include "VideoCommon/VideoCommon.h"
|
||||
|
||||
class AbstractTexture
|
||||
{
|
||||
|
@ -26,7 +28,7 @@ public:
|
|||
static bool IsCompressedHostTextureFormat(AbstractTextureFormat format);
|
||||
static size_t CalculateHostTextureLevelPitch(AbstractTextureFormat format, u32 row_length);
|
||||
|
||||
const TextureConfig GetConfig() const;
|
||||
const TextureConfig& GetConfig() const;
|
||||
|
||||
protected:
|
||||
const TextureConfig m_config;
|
||||
|
|
Loading…
Reference in New Issue