diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2001-01-05 02:26:48 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2001-01-05 02:26:48 +0000 |
commit | 58e991705392a2e17a1c8b034f4083a0adaf1943 (patch) | |
tree | 828804ca2671809e92a10642030ecd2d21a27b6d /src/mesa/swrast_setup/ss_context.h | |
parent | f22c04cdaec47dfef1068af0e90822062478631b (diff) | |
download | external_mesa3d-58e991705392a2e17a1c8b034f4083a0adaf1943.zip external_mesa3d-58e991705392a2e17a1c8b034f4083a0adaf1943.tar.gz external_mesa3d-58e991705392a2e17a1c8b034f4083a0adaf1943.tar.bz2 |
Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertex
is always the last vertex parameter.
Modify clipping to preserve pv colors.
Modify swrast and X11 driver to expect the pv in the last vertex
(was looking in the first vertex previously).
Remove all handling of flatshading from swrast_setup.
Allow drivers to override the unclipped render tabs in tnl_render_stage
directly. (Like in 3.4). Removed fxsimplerender stage.
Modified t_vb_rendertmp.h to remove the need for 'parity' arguments
in RENDER_TRI macros.
Diffstat (limited to 'src/mesa/swrast_setup/ss_context.h')
-rw-r--r-- | src/mesa/swrast_setup/ss_context.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast_setup/ss_context.h b/src/mesa/swrast_setup/ss_context.h index f4dcb4e..601ae9e 100644 --- a/src/mesa/swrast_setup/ss_context.h +++ b/src/mesa/swrast_setup/ss_context.h @@ -44,12 +44,12 @@ typedef struct { GLuint start, GLuint end, GLuint new_inputs ); void (*Quad)( GLcontext *ctx, GLuint v0, GLuint v1, - GLuint v2, GLuint v3, GLuint pv ); + GLuint v2, GLuint v3 ); void (*Triangle)( GLcontext *ctx, GLuint v0, GLuint v1, - GLuint v2, GLuint pv ); + GLuint v2 ); - void (*Line)( GLcontext *ctx, GLuint v0, GLuint v1, GLuint pv ); + void (*Line)( GLcontext *ctx, GLuint v0, GLuint v1 ); void (*Points)( GLcontext *ctx, GLuint first, GLuint last ); |