summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/X/xmesaP.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/extras/Mesa/src/X/xmesaP.h')
-rw-r--r--xc/extras/Mesa/src/X/xmesaP.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/xc/extras/Mesa/src/X/xmesaP.h b/xc/extras/Mesa/src/X/xmesaP.h
index 9b79f4314..987877509 100644
--- a/xc/extras/Mesa/src/X/xmesaP.h
+++ b/xc/extras/Mesa/src/X/xmesaP.h
@@ -85,6 +85,7 @@ struct xmesa_visual {
GLint BitsPerPixel; /* True bits per pixel for XImages */
GLint level; /* 0=normal, 1=overlay, etc */
+ GLint VisualCaveat; /* for GLX_EXT_visual_rating extension */
GLboolean ximage_flag; /* Use XImage for back buffer (not pixmap)? */
@@ -510,8 +511,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 );