From 4eebc90a174722422daea6352d4e980bc81b4bb2 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 20 Feb 2001 18:28:52 +0000 Subject: Added GLvector4chan type, removed lots of CHAN_TYPE ifdefs. --- src/mesa/math/m_translate.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/mesa/math/m_translate.h') diff --git a/src/mesa/math/m_translate.h b/src/mesa/math/m_translate.h index 3151e458176..55ac887e241 100644 --- a/src/mesa/math/m_translate.h +++ b/src/mesa/math/m_translate.h @@ -1,4 +1,4 @@ -/* $Id: m_translate.h,v 1.4 2001/01/24 00:04:59 brianp Exp $ */ +/* $Id: m_translate.h,v 1.5 2001/02/20 18:28:52 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -29,6 +29,7 @@ #define _M_TRANSLATE_H_ #include "config.h" +#include "mtypes.h" /* hack for GLchan */ @@ -61,6 +62,14 @@ extern void _math_trans_4ub(GLubyte (*to)[4], GLuint start, GLuint n ); +extern void _math_trans_4chan( GLchan (*to)[4], + CONST void *ptr, + GLuint stride, + GLenum type, + GLuint size, + GLuint start, + GLuint n ); + extern void _math_trans_4us(GLushort (*to)[4], CONST void *ptr, GLuint stride, -- cgit v1.2.3