summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xmesaP.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-16 12:35:49 -0700
committerBrian Paul <[email protected]>2012-01-24 14:12:31 -0700
commitd16e71eeb47d1e67930f6e86a80dc926468224d9 (patch)
treeb36b872c2d2885d112119d2c3dee39ece0892cf2 /src/mesa/drivers/x11/xmesaP.h
parentf2479530b8be3866c234ac759a7fa84e634dd1aa (diff)
xlib: derive xmesa_renderbuffer from swrast_renderbuffer
Diffstat (limited to 'src/mesa/drivers/x11/xmesaP.h')
-rw-r--r--src/mesa/drivers/x11/xmesaP.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h
index 7caa3561982..7e7b1f8a43d 100644
--- a/src/mesa/drivers/x11/xmesaP.h
+++ b/src/mesa/drivers/x11/xmesaP.h
@@ -29,6 +29,7 @@
#include "xmesa.h"
#include "main/mtypes.h"
+#include "swrast/s_context.h"
extern _glthread_Mutex _xmesa_lock;
@@ -151,7 +152,7 @@ typedef enum {
*/
struct xmesa_renderbuffer
{
- struct gl_renderbuffer Base; /* Base class */
+ struct swrast_renderbuffer Base; /* Base class */
XMesaBuffer Parent; /**< The XMesaBuffer this renderbuffer belongs to */
XMesaDrawable drawable; /* Usually the X window ID */