summaryrefslogtreecommitdiff
path: root/src/mesa/math/m_translate.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2001-02-20 18:28:52 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2001-02-20 18:28:52 +0000
commit4eebc90a174722422daea6352d4e980bc81b4bb2 (patch)
treefd3f4bedaaf568c17d99cd9e028622ffd505a329 /src/mesa/math/m_translate.h
parent8bbc71f2eb6a3d7acce6bc1a66a4caea54d3fc8d (diff)
Added GLvector4chan type, removed lots of CHAN_TYPE ifdefs.
Diffstat (limited to 'src/mesa/math/m_translate.h')
-rw-r--r--src/mesa/math/m_translate.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mesa/math/m_translate.h b/src/mesa/math/m_translate.h
index 3151e45817..55ac887e24 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,