diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-30 01:13:21 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-30 01:27:24 +0100 |
commit | a14d202ac27ae255cec635872125106750c81ca4 (patch) | |
tree | 1790e2206d3518736042ee2a7f1e7059c0304054 | |
parent | gl_state: Move initializers from constructor to class declaration (diff) | |
download | yuzu-a14d202ac27ae255cec635872125106750c81ca4.tar yuzu-a14d202ac27ae255cec635872125106750c81ca4.tar.gz yuzu-a14d202ac27ae255cec635872125106750c81ca4.tar.bz2 yuzu-a14d202ac27ae255cec635872125106750c81ca4.tar.lz yuzu-a14d202ac27ae255cec635872125106750c81ca4.tar.xz yuzu-a14d202ac27ae255cec635872125106750c81ca4.tar.zst yuzu-a14d202ac27ae255cec635872125106750c81ca4.zip |
-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 @@ namespace OpenGL { -namespace TextureUnits { - -struct TextureUnit { - GLint id; - constexpr GLenum Enum() const { - return static_cast<GLenum>(GL_TEXTURE0 + id); - } -}; - -constexpr TextureUnit MaxwellTexture(int unit) { - return TextureUnit{unit}; -} - -constexpr TextureUnit LightingLUT{3}; -constexpr TextureUnit FogLUT{4}; -constexpr TextureUnit ProcTexNoiseLUT{5}; -constexpr TextureUnit ProcTexColorMap{6}; -constexpr TextureUnit ProcTexAlphaMap{7}; -constexpr TextureUnit ProcTexLUT{8}; -constexpr TextureUnit ProcTexDiffLUT{9}; - -} // namespace TextureUnits - class OpenGLState { public: struct { |