diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2017-06-12 12:37:28 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2017-06-13 00:41:56 -0500 |
| commit | e4896d39bd927b0b8e109e0334fa15cdb8e004f3 (patch) | |
| tree | 60375e0e8c776699b146bc26c3018be03b459225 /Source/Core/VideoCommon/HiresTextures.cpp | |
| parent | 2cdc93f4ab690279df064832d4c9688741556f0c (diff) | |
Video Backends: Move and rename HostTextureFormat to AbstractTextureFormat
Diffstat (limited to 'Source/Core/VideoCommon/HiresTextures.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/HiresTextures.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<u8>& buffer) // Images loaded by SOIL are converted to RGBA. level.width = static_cast<u32>(width); level.height = static_cast<u32>(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<size_t>(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; } |
