[Scummvm-git-logs] scummvm branch-2-7-0-android -> acf6280fbe01993f5e179c043b18612de5664ad5
lephilousophe
noreply at scummvm.org
Sun Mar 19 08:45:53 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
acf6280fbe OPENGL: Make sure shader has been created before cloning it
Commit: acf6280fbe01993f5e179c043b18612de5664ad5
https://github.com/scummvm/scummvm/commit/acf6280fbe01993f5e179c043b18612de5664ad5
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2023-03-19T09:37:04+01:00
Commit Message:
OPENGL: Make sure shader has been created before cloning it
Changed paths:
backends/graphics/opengl/shader.cpp
diff --git a/backends/graphics/opengl/shader.cpp b/backends/graphics/opengl/shader.cpp
index 71cdf544a88..0cee3a737cd 100644
--- a/backends/graphics/opengl/shader.cpp
+++ b/backends/graphics/opengl/shader.cpp
@@ -118,6 +118,7 @@ Shader *ShaderManager::query(ShaderUsage shader) const {
return nullptr;
}
+ assert(_builtIn[shader]);
return _builtIn[shader]->clone();
}
More information about the Scummvm-git-logs
mailing list