소스 검색

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 {