Commit cc0919dc by Jamie Madill Committed by Commit Bot

Capture/Replay: Fix VertexAttribType BYTE output.

Was mistakenly outputting UNSIGNED_BYTE. Caused incorrect rendering in the T-Rex replay. Bug: angleproject:3611 Change-Id: I91c91cb8b35f5f56cb4cce5b6893cef0fdbf71d8 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1902187Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com> Reviewed-by: 's avatarTim Van Patten <timvp@google.com> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 16da9515
......@@ -252,7 +252,7 @@ std::ostream &operator<<(std::ostream &os, VertexAttribType value)
switch (value)
{
case VertexAttribType::Byte:
os << "GL_UNSIGNED_BYTE";
os << "GL_BYTE";
break;
case VertexAttribType::Fixed:
os << "GL_FIXED";
......
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