From ce55449d030f06d8c1e235ac157fbd922e4ad023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Von=C3=A1sek?= Date: Wed, 24 Aug 2022 23:38:57 +0200 Subject: [PATCH] Assert removed --- Common/GPU/OpenGL/GLQueueRunner.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Common/GPU/OpenGL/GLQueueRunner.cpp b/Common/GPU/OpenGL/GLQueueRunner.cpp index 460ecbf97a..90162f8de4 100644 --- a/Common/GPU/OpenGL/GLQueueRunner.cpp +++ b/Common/GPU/OpenGL/GLQueueRunner.cpp @@ -120,10 +120,7 @@ int GLQueueRunner::GetStereoBufferIndex(const char *uniformName) { std::string GLQueueRunner::GetStereoBufferLayout(const char *uniformName) { if (strcmp(uniformName, "u_view") == 0) return "ViewMatrices"; else if (strcmp(uniformName, "u_proj") == 0) return "ProjectionMatrix"; - - //undefined - assert(false); - return "undefined"; + else return "undefined"; } void GLQueueRunner::RunInitSteps(const std::vector &steps, bool skipGLCalls) {