Assert removed

This commit is contained in:
Luboš Vonásek 2022-08-24 23:38:57 +02:00 committed by GitHub
parent 8885600bd5
commit ce55449d03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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<GLRInitStep> &steps, bool skipGLCalls) {