Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions StandAlone/StandAlone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1506,9 +1506,9 @@ void CompileAndLinkShaderUnits(std::vector<ShaderCompUnit> compUnits)
if (! (Options & EOptionSuppressInfolog) &&
! (Options & EOptionMemoryLeakMode)) {
if (!beQuiet)
PutsIfNonEmpty(compUnit.fileName[0].c_str());
PutsIfNonEmpty(shader->getInfoLog());
PutsIfNonEmpty(shader->getInfoDebugLog());
StderrIfNonEmpty(compUnit.fileName[0].c_str());
StderrIfNonEmpty(shader->getInfoLog());
StderrIfNonEmpty(shader->getInfoDebugLog());
}
}

Expand All @@ -1529,8 +1529,8 @@ void CompileAndLinkShaderUnits(std::vector<ShaderCompUnit> compUnits)

// Report
if (!(Options & EOptionSuppressInfolog) && !(Options & EOptionMemoryLeakMode)) {
PutsIfNonEmpty(program.getInfoLog());
PutsIfNonEmpty(program.getInfoDebugLog());
StderrIfNonEmpty(program.getInfoLog());
StderrIfNonEmpty(program.getInfoDebugLog());
}

// Reflect
Expand Down
2 changes: 1 addition & 1 deletion Test/runtests
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [ -d "${LIBPATH}" ]; then
fi

function run {
"$EXE" "$@"
"$EXE" "$@" 2>&1
result=$?
case "$result" in
[0-6]) # Valid success and error codes
Expand Down