From c2bd8197e1f29390ce346444ef48775ccd0c2297 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 7 Jan 2000 07:24:50 +0000 Subject: added BitsPerPixel to XMesaVisual struct --- src/mesa/drivers/x11/xmesaP.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/x11') diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h index 147bb5f747a..fbb49e0f620 100644 --- a/src/mesa/drivers/x11/xmesaP.h +++ b/src/mesa/drivers/x11/xmesaP.h @@ -1,10 +1,10 @@ -/* $Id: xmesaP.h,v 1.5 2000/01/06 09:28:58 brianp Exp $ */ +/* $Id: xmesaP.h,v 1.6 2000/01/07 07:24:50 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 * - * Copyright (C) 1999 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -83,6 +83,7 @@ struct xmesa_visual { XVisualInfo *vishandle; /* The pointer returned by glXChooseVisual */ #endif XMesaVisualInfo visinfo; /* X's visual info */ + GLint BitsPerPixel; /* True bits per pixel for XImages */ GLint level; /* 0=normal, 1=overlay, etc */ -- cgit v1.2.3