Commit c2449441 by Gert Wollny Committed by Angle LUCI CQ

Capture/Replay: Make sure EGLImageKHR is a parsable number

For some reason on win-trace-rel the pointer value us written as a hex number but without the leading "0x", so the number gets interpreted as octal, and compilation fails. Fixes: cb4f8a79 Capture: Add a specialization for TGLeglImageOES Bug: angleproject:6036 Change-Id: I949ace542a0ad257b47fbe539893a56c1c32b0b3 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2982551Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Gert Wollny <gert.wollny@collabora.com>
parent 71439efc
......@@ -5613,7 +5613,8 @@ void WriteParamValueReplay<ParamType::TGLeglImageOES>(std::ostream &os,
const CallCapture &call,
GLeglImageOES value)
{
os << "reinterpret_cast<EGLImageKHR>(" << value << ")";
uint64_t pointerValue = reinterpret_cast<uint64_t>(value);
os << "reinterpret_cast<EGLImageKHR>(" << pointerValue << "ul)";
}
template <>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment