浏览代码

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.
Lioncash 7 年之前
父节点
当前提交
90746c33c7
共有 2 个文件被更改,包括 1 次插入4 次删除
  1. 1 0
      src/video_core/renderer_opengl/gl_state.cpp
  2. 0 4
      src/video_core/renderer_opengl/gl_state.h

+ 1 - 0
src/video_core/renderer_opengl/gl_state.cpp

@@ -4,6 +4,7 @@
 
 #include <iterator>
 #include <glad/glad.h>
+#include "common/assert.h"
 #include "common/logging/log.h"
 #include "video_core/renderer_opengl/gl_state.h"
 

+ 0 - 4
src/video_core/renderer_opengl/gl_state.h

@@ -7,12 +7,8 @@
 #include <array>
 #include <glad/glad.h>
 
-#include "video_core/engines/maxwell_3d.h"
-
 namespace OpenGL {
 
-using Regs = Tegra::Engines::Maxwell3D::Regs;
-
 namespace TextureUnits {
 
 struct TextureUnit {