summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2019-04-06 00:14:34 -0400
committerGravatar Lioncash2019-04-06 00:14:36 -0400
commit89c106e31b28b8d2c4e874878f2795f340c9a532 (patch)
tree09002fed0b7cff39ff3ad978f788eb256a09bf37 /src
parentvideo_core/texures/texture: Remove unnecessary includes (diff)
downloadyuzu-89c106e31b28b8d2c4e874878f2795f340c9a532.tar.gz
yuzu-89c106e31b28b8d2c4e874878f2795f340c9a532.tar.xz
yuzu-89c106e31b28b8d2c4e874878f2795f340c9a532.zip
video_core/textures/convert: Replace include with a forward declaration
Avoids dragging in a direct dependency in a header.
Diffstat (limited to 'src')
-rw-r--r--src/video_core/textures/convert.cpp1
-rw-r--r--src/video_core/textures/convert.h5
2 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/textures/convert.cpp b/src/video_core/textures/convert.cpp
index 5e439f036..82050bd51 100644
--- a/src/video_core/textures/convert.cpp
+++ b/src/video_core/textures/convert.cpp
@@ -10,6 +10,7 @@
10#include "common/assert.h" 10#include "common/assert.h"
11#include "common/common_types.h" 11#include "common/common_types.h"
12#include "common/logging/log.h" 12#include "common/logging/log.h"
13#include "video_core/surface.h"
13#include "video_core/textures/astc.h" 14#include "video_core/textures/astc.h"
14#include "video_core/textures/convert.h" 15#include "video_core/textures/convert.h"
15 16
diff --git a/src/video_core/textures/convert.h b/src/video_core/textures/convert.h
index 07cd8b5da..12542e71c 100644
--- a/src/video_core/textures/convert.h
+++ b/src/video_core/textures/convert.h
@@ -5,7 +5,10 @@
5#pragma once 5#pragma once
6 6
7#include "common/common_types.h" 7#include "common/common_types.h"
8#include "video_core/surface.h" 8
9namespace VideoCore::Surface {
10enum class PixelFormat;
11}
9 12
10namespace Tegra::Texture { 13namespace Tegra::Texture {
11 14