summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AbstractTexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/AbstractTexture.h')
-rw-r--r--Source/Core/VideoCommon/AbstractTexture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/AbstractTexture.h b/Source/Core/VideoCommon/AbstractTexture.h
index 6ff80e9703..99b5c0c398 100644
--- a/Source/Core/VideoCommon/AbstractTexture.h
+++ b/Source/Core/VideoCommon/AbstractTexture.h
@@ -44,7 +44,8 @@ public:
static bool IsCompressedFormat(AbstractTextureFormat format);
static bool IsDepthFormat(AbstractTextureFormat format);
static bool IsStencilFormat(AbstractTextureFormat format);
- static AbstractTextureFormat GetColorFormatForDepthFormat(AbstractTextureFormat format);
+ static bool IsCompatibleDepthAndColorFormats(AbstractTextureFormat depth_format,
+ AbstractTextureFormat color_format);
static u32 CalculateStrideForFormat(AbstractTextureFormat format, u32 row_length);
static u32 GetTexelSizeForFormat(AbstractTextureFormat format);
static u32 GetBlockSizeForFormat(AbstractTextureFormat format);