X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fswrast%2Fs_stencil.h;h=37f3c8da14777d0480ad5445ed1c6fdf09f5fa99;hb=6d68855df133bdd4891e8aa428787b520739e0fe;hp=cd6cbc57b0b8a9270e75d1b3d52ab7abb670df11;hpb=76d8951fd3adbb91b2f71d461eec0f304619ca0b;p=mesa.git diff --git a/src/mesa/swrast/s_stencil.h b/src/mesa/swrast/s_stencil.h index cd6cbc57b0b..37f3c8da147 100644 --- a/src/mesa/swrast/s_stencil.h +++ b/src/mesa/swrast/s_stencil.h @@ -27,26 +27,27 @@ #define S_STENCIL_H -#include "swrast.h" +#include "main/mtypes.h" +#include "s_span.h" extern GLboolean -_swrast_stencil_and_ztest_span(GLcontext *ctx, SWspan *span); +_swrast_stencil_and_ztest_span(struct gl_context *ctx, SWspan *span); extern void -_swrast_read_stencil_span(GLcontext *ctx, struct gl_renderbuffer *rb, - GLint n, GLint x, GLint y, GLstencil stencil[]); +_swrast_read_stencil_span(struct gl_context *ctx, struct gl_renderbuffer *rb, + GLint n, GLint x, GLint y, GLubyte stencil[]); extern void -_swrast_write_stencil_span( GLcontext *ctx, GLint n, GLint x, GLint y, - const GLstencil stencil[] ); +_swrast_write_stencil_span( struct gl_context *ctx, GLint n, GLint x, GLint y, + const GLubyte stencil[] ); extern void -_swrast_clear_stencil_buffer( GLcontext *ctx, struct gl_renderbuffer *rb ); +_swrast_clear_stencil_buffer( struct gl_context *ctx, struct gl_renderbuffer *rb ); #endif