From: Brian Paul Date: Fri, 19 May 2000 13:08:01 +0000 (+0000) Subject: Pass pixel format to xmesa_color_to_pixel(). Compute clearpixel without dither X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43ddff4549dbb5459b7a30e3a04e2416023708dd;p=mesa.git Pass pixel format to xmesa_color_to_pixel(). Compute clearpixel without dither --- diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h index 2c6a17a7042..b92484c966a 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 );