summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AbstractTexture.h
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2017-06-19 10:19:39 +0200
committerGitHub <noreply@github.com>2017-06-19 10:19:39 +0200
commitc6417e0e789834b3b58c4ea491b5bc490fb0a2da (patch)
tree526c5852088ea361d71279fb4e9f6018d740152f /Source/Core/VideoCommon/AbstractTexture.h
parent4c2b0780173f2a7b29510cd9cd63e55c3eb7df6f (diff)
parent59a947d41db3d5c603deeb5ffc40afec0ecc61f1 (diff)
Merge pull request #5647 from lioncash/abstract
AbstractTexture: Minor changes
Diffstat (limited to 'Source/Core/VideoCommon/AbstractTexture.h')
-rw-r--r--Source/Core/VideoCommon/AbstractTexture.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/AbstractTexture.h b/Source/Core/VideoCommon/AbstractTexture.h
index 2b06d9c401..94c082af70 100644
--- a/Source/Core/VideoCommon/AbstractTexture.h
+++ b/Source/Core/VideoCommon/AbstractTexture.h
@@ -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;