diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-22 08:34:14 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-23 01:28:49 +0100 |
commit | e35b9597ef4ecf9d500462ef19510a36a564fd9d (patch) | |
tree | 096fb619e28bf705f5721e2b3296bc4bc1a06e2f /src/video_core/renderer_opengl/gl_state.h | |
parent | gl_shader_decompiler: Normalize cbuf bindings (diff) | |
download | yuzu-e35b9597ef4ecf9d500462ef19510a36a564fd9d.tar yuzu-e35b9597ef4ecf9d500462ef19510a36a564fd9d.tar.gz yuzu-e35b9597ef4ecf9d500462ef19510a36a564fd9d.tar.bz2 yuzu-e35b9597ef4ecf9d500462ef19510a36a564fd9d.tar.lz yuzu-e35b9597ef4ecf9d500462ef19510a36a564fd9d.tar.xz yuzu-e35b9597ef4ecf9d500462ef19510a36a564fd9d.tar.zst yuzu-e35b9597ef4ecf9d500462ef19510a36a564fd9d.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 fd53eb81a..e53c2c5f2 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -97,9 +97,10 @@ public: } logic_op; static constexpr std::size_t NumSamplers = 32 * 5; + static constexpr std::size_t NumImages = 8 * 5; std::array<GLuint, NumSamplers> textures = {}; std::array<GLuint, NumSamplers> samplers = {}; - std::array<GLuint, Tegra::Engines::Maxwell3D::Regs::NumImages> images = {}; + std::array<GLuint, NumImages> images = {}; struct { GLuint read_framebuffer = 0; // GL_READ_FRAMEBUFFER_BINDING |