From 90746c33c7735165e9c69c6861b3fbcd8745d95d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 21 Sep 2018 18:22:40 -0400 Subject: [PATCH] gl_state: Remove unused type alias This isn't used anywhere within the header, so we can remove it, along with the include that was previously necessary. This also uncovers an indirect include in the cpp file for the assertion macros. --- src/video_core/renderer_opengl/gl_state.cpp | 1 + src/video_core/renderer_opengl/gl_state.h | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp index af99132ba8..e5173e20aa 100644 --- a/src/video_core/renderer_opengl/gl_state.cpp +++ b/src/video_core/renderer_opengl/gl_state.cpp @@ -4,6 +4,7 @@ #include #include +#include "common/assert.h" #include "common/logging/log.h" #include "video_core/renderer_opengl/gl_state.h" diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index e3e24b9e73..9a93029d89 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -7,12 +7,8 @@ #include #include -#include "video_core/engines/maxwell_3d.h" - namespace OpenGL { -using Regs = Tegra::Engines::Maxwell3D::Regs; - namespace TextureUnits { struct TextureUnit {