Skip to content

Commit

Permalink
- Added valgrind suppressions file (incomplete)
Browse files Browse the repository at this point in the history
  • Loading branch information
kduske committed Apr 18, 2013
1 parent 893dc8e commit b021e51
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Linux/BuildNo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
179
180
12 changes: 12 additions & 0 deletions Linux/valgrind-suppressions
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
wcslen
Memcheck:Addr8
fun:wcslen
...
}
{
wcslen
Memcheck:Cond
fun:wcslen
...
}
3 changes: 2 additions & 1 deletion Source/Renderer/Shader/ShaderProgram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ namespace TrenchBroom {
}

bool ShaderProgram::setUniformVariable(const String& name, const Vec4f& value) {
assert(checkActive());
// assert(checkActive());
checkActive();
GLint location = uniformLocation(name);
if (location == -1)
return false;
Expand Down

0 comments on commit b021e51

Please sign in to comment.