diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-05-19 13:08:01 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-05-19 13:08:01 +0000 |
commit | 43ddff4549dbb5459b7a30e3a04e2416023708dd (patch) | |
tree | e47a4c1140053e5e85c5e54616e8d4b184979f26 /src/mesa | |
parent | e160138d1340eca42dd30113408b4b57fb9d4e87 (diff) |
Pass pixel format to xmesa_color_to_pixel(). Compute clearpixel without dither
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/x11/xmesaP.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h index 2c6a17a704..b92484c966 100644 --- a/src/mesa/drivers/x11/xmesaP.h +++ b/src/mesa/drivers/x11/xmesaP.h @@ -1,4 +1,4 @@ -/* $Id: xmesaP.h,v 1.9 2000/03/31 01:07:14 brianp Exp $ */ +/* $Id: xmesaP.h,v 1.10 2000/05/19 13:08:01 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -512,8 +512,9 @@ static int const kernel1[16] = { * External functions: */ -extern unsigned long xmesa_color_to_pixel( XMesaContext xmesa, - GLubyte r, GLubyte g, GLubyte b, GLubyte a ); +extern unsigned long +xmesa_color_to_pixel( XMesaContext xmesa, GLubyte r, GLubyte g, GLubyte b, GLubyte a, + GLuint pixelFormat ); extern void xmesa_alloc_back_buffer( XMesaBuffer b ); |