From e4896d39bd927b0b8e109e0334fa15cdb8e004f3 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Mon, 12 Jun 2017 12:37:28 -0500 Subject: Video Backends: Move and rename HostTextureFormat to AbstractTextureFormat --- Source/Core/VideoCommon/HiresTextures.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/HiresTextures.cpp') diff --git a/Source/Core/VideoCommon/HiresTextures.cpp b/Source/Core/VideoCommon/HiresTextures.cpp index 654530dc20..5b9cbd0370 100644 --- a/Source/Core/VideoCommon/HiresTextures.cpp +++ b/Source/Core/VideoCommon/HiresTextures.cpp @@ -532,7 +532,7 @@ bool HiresTexture::LoadTexture(Level& level, const std::vector& buffer) // Images loaded by SOIL are converted to RGBA. level.width = static_cast(width); level.height = static_cast(height); - level.format = HostTextureFormat::RGBA8; + level.format = AbstractTextureFormat::RGBA8; level.data = ImageDataPointer(data, SOIL_free_image_data); level.row_length = level.width; level.data_size = static_cast(level.row_length) * 4 * level.height; @@ -554,7 +554,7 @@ HiresTexture::~HiresTexture() { } -HostTextureFormat HiresTexture::GetFormat() const +AbstractTextureFormat HiresTexture::GetFormat() const { return m_levels.at(0).format; } -- cgit v1.2.3