diff options
author | José Fonseca <jfonseca@vmware.com> | 2014-02-04 15:12:27 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-02-04 15:12:27 +0000 |
commit | 38a2e4ec6c944f3cadebce68829479f36862cbb8 (patch) | |
tree | ff347af60c37edb48842dee2f4039216b5136d26 /retrace | |
parent | 98a91c92bb30f637b89b9c06a59c502f5bf28d0c (diff) |
glretrace: Remove assert in dumpProgramUniforms.
As it can be triggered by some OpenGL drivers.
Diffstat (limited to 'retrace')
-rw-r--r-- | retrace/glstate_shaders.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/retrace/glstate_shaders.cpp b/retrace/glstate_shaders.cpp index 29d47685..825e3aeb 100644 --- a/retrace/glstate_shaders.cpp +++ b/retrace/glstate_shaders.cpp @@ -532,7 +532,10 @@ dumpProgramUniforms(JSONWriter &json, GLint program) continue; } - assert(0); + /* + * We can get here when the driver describes the uniform as active, but + * on an inactive uniform block. So just ingnore that. + */ } delete [] name; |