Commit 3e9bc2a7 by Jiacheng Lu Committed by Commit Bot

Fix param name of glDrawArrays capture

Bug: angleproject:3611 Change-Id: Idba4d49d36274db8545f2526f19f045f97031379 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1721173Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent f2412bca
......@@ -162,10 +162,10 @@ void FrameCapture::captureCall(const gl::Context *context, CallCapture &&call)
if (context->getStateCache().hasAnyActiveClientAttrib())
{
// Get counts from paramBuffer.
GLint startVertex = call.params.getParam("start", ParamType::TGLint, 1).value.GLintVal;
GLint firstVertex = call.params.getParam("first", ParamType::TGLint, 1).value.GLintVal;
GLsizei drawCount =
call.params.getParam("count", ParamType::TGLsizei, 2).value.GLsizeiVal;
captureClientArraySnapshot(context, startVertex + drawCount, 1);
captureClientArraySnapshot(context, firstVertex + drawCount, 1);
}
}
else if (call.name == "glDrawElements")
......
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