mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-06 14:20:39 +01:00
make read_stencil_pixels() non-static
This commit is contained in:
parent
447c93dd1b
commit
8f3fb395ff
2 changed files with 11 additions and 5 deletions
|
|
@ -50,11 +50,11 @@
|
|||
* Special case for reading stencil buffer.
|
||||
* For color/depth we use get_tile(). For stencil, map the stencil buffer.
|
||||
*/
|
||||
static void
|
||||
read_stencil_pixels(GLcontext *ctx, GLint x, GLint y,
|
||||
GLsizei width, GLsizei height, GLenum type,
|
||||
const struct gl_pixelstore_attrib *packing,
|
||||
GLvoid *pixels)
|
||||
void
|
||||
st_read_stencil_pixels(GLcontext *ctx, GLint x, GLint y,
|
||||
GLsizei width, GLsizei height, GLenum type,
|
||||
const struct gl_pixelstore_attrib *packing,
|
||||
GLvoid *pixels)
|
||||
{
|
||||
struct st_context *st = ctx->st;
|
||||
struct pipe_context *pipe = st->pipe;
|
||||
|
|
|
|||
|
|
@ -29,6 +29,12 @@
|
|||
#ifndef ST_CB_READPIXELS_H
|
||||
#define ST_CB_READPIXELS_H
|
||||
|
||||
extern void
|
||||
st_read_stencil_pixels(GLcontext *ctx, GLint x, GLint y,
|
||||
GLsizei width, GLsizei height, GLenum type,
|
||||
const struct gl_pixelstore_attrib *packing,
|
||||
GLvoid *pixels);
|
||||
|
||||
extern void
|
||||
st_init_readpixels_functions(struct dd_function_table *functions);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue