Преглед на файлове

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 {