From 790734045b69c47b1525fbf9106a7ca5a8eb7416 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 5 Jan 2004 09:43:42 +0000 Subject: Re-commit t_vertex.[ch] changes to fd.o server. --- src/mesa/swrast_setup/swrast_setup.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mesa/swrast_setup/swrast_setup.h') diff --git a/src/mesa/swrast_setup/swrast_setup.h b/src/mesa/swrast_setup/swrast_setup.h index 4825c772f1..5dcbe2675b 100644 --- a/src/mesa/swrast_setup/swrast_setup.h +++ b/src/mesa/swrast_setup/swrast_setup.h @@ -38,6 +38,8 @@ #ifndef SWRAST_SETUP_H #define SWRAST_SETUP_H +#include "swrast/swrast.h" + extern GLboolean _swsetup_CreateContext( GLcontext *ctx ); @@ -50,4 +52,10 @@ _swsetup_InvalidateState( GLcontext *ctx, GLuint new_state ); extern void _swsetup_Wakeup( GLcontext *ctx ); +/* Helper function to translate a hardware vertex (as understood by + * the tnl/t_vertex.c code) to a swrast vertex. + */ +extern void +_swsetup_Translate( GLcontext *ctx, const void *vertex, SWvertex *dest ); + #endif -- cgit v1.2.3