diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-09-27 02:52:31 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-09-28 07:04:22 +0200 |
commit | b8f1506aa5e5eb25bfd82f4e0818f1c2c1e6bcb3 (patch) | |
tree | ea9bab0a098dbb7edec15ae3dc5d69874c3d8db4 /src/video_core/renderer_opengl/gl_state.h | |
parent | Merge pull request #1399 from lioncash/sched (diff) | |
download | yuzu-b8f1506aa5e5eb25bfd82f4e0818f1c2c1e6bcb3.tar yuzu-b8f1506aa5e5eb25bfd82f4e0818f1c2c1e6bcb3.tar.gz yuzu-b8f1506aa5e5eb25bfd82f4e0818f1c2c1e6bcb3.tar.bz2 yuzu-b8f1506aa5e5eb25bfd82f4e0818f1c2c1e6bcb3.tar.lz yuzu-b8f1506aa5e5eb25bfd82f4e0818f1c2c1e6bcb3.tar.xz yuzu-b8f1506aa5e5eb25bfd82f4e0818f1c2c1e6bcb3.tar.zst yuzu-b8f1506aa5e5eb25bfd82f4e0818f1c2c1e6bcb3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 9a93029d8..49f30b111 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -6,6 +6,7 @@ #include <array> #include <glad/glad.h> +#include "video_core/engines/maxwell_3d.h" namespace OpenGL { @@ -114,7 +115,7 @@ public: target = GL_TEXTURE_2D; } }; - std::array<TextureUnit, 32> texture_units; + std::array<TextureUnit, Tegra::Engines::Maxwell3D::Regs::NumTextureSamplers> texture_units; struct { GLuint read_framebuffer; // GL_READ_FRAMEBUFFER_BINDING |