Commit 7a95a620 by Cody Northrop Committed by Commit Bot

Capture/Replay: Support glGetQueryiv

Test: MEC for Dota Underlords Bug: b/185192780 Bug: angleproject:5857 Change-Id: I59ced20117bde50b5b734a82cb2e5966d1b27227 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2821946 Commit-Queue: Cody Northrop <cnorthrop@google.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
parent 4f723d2c
...@@ -431,7 +431,7 @@ void CaptureGetQueryObjectuiv_params(const State &glState, ...@@ -431,7 +431,7 @@ void CaptureGetQueryObjectuiv_params(const State &glState,
ParamCapture *paramCapture) ParamCapture *paramCapture)
{ {
// This only returns one value // This only returns one value
paramCapture->readBufferSizeBytes = sizeof(GLint); paramCapture->readBufferSizeBytes = sizeof(GLuint);
} }
void CaptureGetQueryiv_params(const State &glState, void CaptureGetQueryiv_params(const State &glState,
...@@ -441,7 +441,8 @@ void CaptureGetQueryiv_params(const State &glState, ...@@ -441,7 +441,8 @@ void CaptureGetQueryiv_params(const State &glState,
GLint *params, GLint *params,
ParamCapture *paramCapture) ParamCapture *paramCapture)
{ {
UNIMPLEMENTED(); // This only returns one value
paramCapture->readBufferSizeBytes = sizeof(GLint);
} }
void CaptureGetSamplerParameterfv_params(const State &glState, void CaptureGetSamplerParameterfv_params(const State &glState,
......
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