*
* \sa _mesa_clip_to_region
*/
-void
-_mesa_scissor_bounding_box(const struct gl_context *ctx,
- const struct gl_framebuffer *buffer,
- unsigned idx, int *bbox)
+static void
+scissor_bounding_box(const struct gl_context *ctx,
+ const struct gl_framebuffer *buffer,
+ unsigned idx, int *bbox)
{
bbox[0] = 0;
bbox[2] = 0;
}
/* Default to the first scissor as that's always valid */
- _mesa_scissor_bounding_box(ctx, buffer, 0, bbox);
+ scissor_bounding_box(ctx, buffer, 0, bbox);
buffer->_Xmin = bbox[0];
buffer->_Ymin = bbox[2];
buffer->_Xmax = bbox[1];
extern void
_mesa_resizebuffers( struct gl_context *ctx );
-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);