diff --git a/gfx/gl/MozFramebuffer.h b/gfx/gl/MozFramebuffer.h index 6475aeee4957..87095dfcdddf 100644 --- a/gfx/gl/MozFramebuffer.h +++ b/gfx/gl/MozFramebuffer.h @@ -49,6 +49,8 @@ class MozFramebuffer final { if (mColorTarget == LOCAL_GL_RENDERBUFFER) return 0; return mColorName; } + bool HasDepth() const { return mDepthRB; } + bool HasStencil() const { return mStencilRB; } }; } // namespace gl