diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-15 21:29:25 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-15 22:38:25 +0200 |
commit | 56bca83bde9432bbc98b00f3fb3caf31b41f1da1 (patch) | |
tree | c8c42506a9ddaa93a0a69f985903d14678ffe1f1 /src/video_core/renderer_opengl/gl_shader_util.cpp | |
parent | gl_shader_cache: Address CI issues (diff) | |
download | yuzu-56bca83bde9432bbc98b00f3fb3caf31b41f1da1.tar yuzu-56bca83bde9432bbc98b00f3fb3caf31b41f1da1.tar.gz yuzu-56bca83bde9432bbc98b00f3fb3caf31b41f1da1.tar.bz2 yuzu-56bca83bde9432bbc98b00f3fb3caf31b41f1da1.tar.lz yuzu-56bca83bde9432bbc98b00f3fb3caf31b41f1da1.tar.xz yuzu-56bca83bde9432bbc98b00f3fb3caf31b41f1da1.tar.zst yuzu-56bca83bde9432bbc98b00f3fb3caf31b41f1da1.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_util.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_util.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_util.cpp b/src/video_core/renderer_opengl/gl_shader_util.cpp index bab7d1a49..9e74eda0d 100644 --- a/src/video_core/renderer_opengl/gl_shader_util.cpp +++ b/src/video_core/renderer_opengl/gl_shader_util.cpp @@ -11,7 +11,7 @@ namespace OpenGL::GLShader { namespace { -constexpr const char* GetStageDebugName(GLenum type) { +const char* GetStageDebugName(GLenum type) { switch (type) { case GL_VERTEX_SHADER: return "vertex"; @@ -21,9 +21,9 @@ constexpr const char* GetStageDebugName(GLenum type) { return "fragment"; case GL_COMPUTE_SHADER: return "compute"; - default: - UNREACHABLE(); } + UNIMPLEMENTED(); + return "unknown"; } } // Anonymous namespace |