Commit 78437770 by Gert Wollny

Capture: read four values for GL_TEXTURE_CROP_RECT_OES

This texture parameter describes a cropping region x,y, width, height. Bug: angleproject:6057 Change-Id: I2c71f6aec1e536f42e06c19cb025889094b57a35 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2956510Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 79d3a5a1
...@@ -692,7 +692,7 @@ void CaptureTextureAndSamplerParameter_params(GLenum pname, ...@@ -692,7 +692,7 @@ void CaptureTextureAndSamplerParameter_params(GLenum pname,
const T *param, const T *param,
angle::ParamCapture *paramCapture) angle::ParamCapture *paramCapture)
{ {
if (pname == GL_TEXTURE_BORDER_COLOR) if (pname == GL_TEXTURE_BORDER_COLOR || pname == GL_TEXTURE_CROP_RECT_OES)
{ {
CaptureMemory(param, sizeof(T) * 4, paramCapture); CaptureMemory(param, sizeof(T) * 4, paramCapture);
} }
......
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