summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-10-29 21:13:21 -0300
committerGravatar ReinUsesLisp2019-10-29 21:27:24 -0300
commita14d202ac27ae255cec635872125106750c81ca4 (patch)
tree1790e2206d3518736042ee2a7f1e7059c0304054 /src
parentgl_state: Move initializers from constructor to class declaration (diff)
downloadyuzu-a14d202ac27ae255cec635872125106750c81ca4.tar.gz
yuzu-a14d202ac27ae255cec635872125106750c81ca4.tar.xz
yuzu-a14d202ac27ae255cec635872125106750c81ca4.zip
gl_state: Remove unused Citra TextureUnits
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_state.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h
index 27ea98246..805ee9e4a 100644
--- a/src/video_core/renderer_opengl/gl_state.h
+++ b/src/video_core/renderer_opengl/gl_state.h
@@ -11,29 +11,6 @@
11 11
12namespace OpenGL { 12namespace OpenGL {
13 13
14namespace TextureUnits {
15
16struct TextureUnit {
17 GLint id;
18 constexpr GLenum Enum() const {
19 return static_cast<GLenum>(GL_TEXTURE0 + id);
20 }
21};
22
23constexpr TextureUnit MaxwellTexture(int unit) {
24 return TextureUnit{unit};
25}
26
27constexpr TextureUnit LightingLUT{3};
28constexpr TextureUnit FogLUT{4};
29constexpr TextureUnit ProcTexNoiseLUT{5};
30constexpr TextureUnit ProcTexColorMap{6};
31constexpr TextureUnit ProcTexAlphaMap{7};
32constexpr TextureUnit ProcTexLUT{8};
33constexpr TextureUnit ProcTexDiffLUT{9};
34
35} // namespace TextureUnits
36
37class OpenGLState { 14class OpenGLState {
38public: 15public:
39 struct { 16 struct {