mesa: helper function for scissor box of gl_framebuffer
[mesa.git] / src / mesa / main / framebuffer.h
index ca286e9a9927f36914bb6ae56c89769fae951a95..08e43222045eb15772324154c3a8dbc26548e42a 100644 (file)
@@ -75,6 +75,9 @@ extern void
 _mesa_scissor_bounding_box(const struct gl_context *ctx,
                            const struct gl_framebuffer *buffer,
                            unsigned idx, int *bbox);
+extern void
+_mesa_intersect_scissor_bounding_box(const struct gl_context *ctx,
+                                     unsigned idx, int *bbox);
 
 static inline GLuint
 _mesa_geometric_width(const struct gl_framebuffer *buffer)