| Index: src/gpu/gl/GrGLUtil.h
|
| diff --git a/src/gpu/gl/GrGLUtil.h b/src/gpu/gl/GrGLUtil.h
|
| index 70af3a36f414f019c4a85ce48889ff21fadfea13..8a3021cd5716fe684b4dd6bf5a49fa76c04c0e79 100644
|
| --- a/src/gpu/gl/GrGLUtil.h
|
| +++ b/src/gpu/gl/GrGLUtil.h
|
| @@ -81,6 +81,12 @@ enum GrGLDriver {
|
| GR_GL_CALL(gl, GetFramebufferAttachmentParameteriv(t, a, pname, p)); \
|
| } while (0)
|
|
|
| +#define GR_GL_GetNamedFramebufferAttachmentParameteriv(gl, fb, a, pname, p) \
|
| + do { \
|
| + *(p) = GR_GL_INIT_ZERO; \
|
| + GR_GL_CALL(gl, GetNamedFramebufferAttachmentParameteriv(fb, a, pname, p)); \
|
| + } while (0)
|
| +
|
| #define GR_GL_GetRenderbufferParameteriv(gl, t, pname, p) \
|
| do { \
|
| *(p) = GR_GL_INIT_ZERO; \
|
|
|