diff options
| author | 2019-10-29 21:13:21 -0300 | |
|---|---|---|
| committer | 2019-10-29 21:27:24 -0300 | |
| commit | a14d202ac27ae255cec635872125106750c81ca4 (patch) | |
| tree | 1790e2206d3518736042ee2a7f1e7059c0304054 /src | |
| parent | gl_state: Move initializers from constructor to class declaration (diff) | |
| download | yuzu-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.h | 23 |
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 | ||
| 12 | namespace OpenGL { | 12 | namespace OpenGL { |
| 13 | 13 | ||
| 14 | namespace TextureUnits { | ||
| 15 | |||
| 16 | struct TextureUnit { | ||
| 17 | GLint id; | ||
| 18 | constexpr GLenum Enum() const { | ||
| 19 | return static_cast<GLenum>(GL_TEXTURE0 + id); | ||
| 20 | } | ||
| 21 | }; | ||
| 22 | |||
| 23 | constexpr TextureUnit MaxwellTexture(int unit) { | ||
| 24 | return TextureUnit{unit}; | ||
| 25 | } | ||
| 26 | |||
| 27 | constexpr TextureUnit LightingLUT{3}; | ||
| 28 | constexpr TextureUnit FogLUT{4}; | ||
| 29 | constexpr TextureUnit ProcTexNoiseLUT{5}; | ||
| 30 | constexpr TextureUnit ProcTexColorMap{6}; | ||
| 31 | constexpr TextureUnit ProcTexAlphaMap{7}; | ||
| 32 | constexpr TextureUnit ProcTexLUT{8}; | ||
| 33 | constexpr TextureUnit ProcTexDiffLUT{9}; | ||
| 34 | |||
| 35 | } // namespace TextureUnits | ||
| 36 | |||
| 37 | class OpenGLState { | 14 | class OpenGLState { |
| 38 | public: | 15 | public: |
| 39 | struct { | 16 | struct { |