summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xmesa_x.h
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-10-12 11:40:05 -0400
committerKristian Høgsberg <[email protected]>2010-10-13 09:43:24 -0400
commit705e142dda047f24b563fc2bea0f922173e91d1b (patch)
treeead58cf1a26dedcc6a542f5400bb3b537d3e539b /src/mesa/drivers/x11/xmesa_x.h
parente3c1c5377c7fcd17085bfb22fbc1cf30646751ba (diff)
gl: Remove unused GLcontextModes fields
Diffstat (limited to 'src/mesa/drivers/x11/xmesa_x.h')
-rw-r--r--src/mesa/drivers/x11/xmesa_x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xmesa_x.h b/src/mesa/drivers/x11/xmesa_x.h
index 865bab4313b..ea6cb3f24e1 100644
--- a/src/mesa/drivers/x11/xmesa_x.h
+++ b/src/mesa/drivers/x11/xmesa_x.h
@@ -79,7 +79,7 @@ typedef XColor XMesaColor;
#define GET_GREENMASK(__v) __v->mesa_visual.greenMask
#define GET_BLUEMASK(__v) __v->mesa_visual.blueMask
#define GET_VISUAL_DEPTH(__v) __v->visinfo->depth
-#define GET_BLACK_PIXEL(__v) BlackPixel(__v->display, __v->mesa_visual.screen)
+#define GET_BLACK_PIXEL(__v) BlackPixel(__v->display, __v->screen)
#define CHECK_BYTE_ORDER(__v) host_byte_order()==ImageByteOrder(__v->display)
#define CHECK_FOR_HPCR(__v) XInternAtom(__v->display, "_HP_RGB_SMOOTH_MAP_LIST", True)