summaryrefslogtreecommitdiff
path: root/Source/ThirdParty/ANGLE/src/compiler/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/ThirdParty/ANGLE/src/compiler/debug.cpp')
-rw-r--r--Source/ThirdParty/ANGLE/src/compiler/debug.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/ThirdParty/ANGLE/src/compiler/debug.cpp b/Source/ThirdParty/ANGLE/src/compiler/debug.cpp
index 9642e1e37..53778bd3e 100644
--- a/Source/ThirdParty/ANGLE/src/compiler/debug.cpp
+++ b/Source/ThirdParty/ANGLE/src/compiler/debug.cpp
@@ -11,6 +11,7 @@
#include <stdarg.h>
#include <stdio.h>
+#include "compiler/InitializeParseContext.h"
#include "compiler/ParseHelper.h"
static const int kTraceBufferLen = 1024;
@@ -28,7 +29,7 @@ void Trace(const char *format, ...) {
vsnprintf(buf, kTraceBufferLen, format, args);
va_end(args);
- parseContext->infoSink.debug << buf;
+ parseContext->trace(buf);
}
}
} // extern "C"