summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-10-12 14:02:12 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-10-12 14:02:12 -0700
commitd8c7678ddadce89ca7fc0edd1b4d9ed3d959e687 (patch)
treeeb3f273b5b8d3b96cc814d67f362d112a6a3a338
parentb37ac9d317ae537d993922976f87072040b04d04 (diff)
DRI2 compat build fix: it's drawable->pScreen not drawable->screen
Fallout from the conversion; DRI2 compat path was broken. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r--src/i830_dri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_dri.c b/src/i830_dri.c
index 60693822..98c1a15d 100644
--- a/src/i830_dri.c
+++ b/src/i830_dri.c
@@ -83,7 +83,7 @@ static DRI2BufferPtr
I830DRI2CreateBuffers(DrawablePtr drawable, unsigned int *attachments,
int count)
{
- ScreenPtr screen = drawable->screen;
+ ScreenPtr screen = drawable->pScreen;
ScrnInfoPtr scrn = xf86Screens[screen->myNum];
intel_screen_private *intel = intel_get_screen_private(scrn);
DRI2BufferPtr buffers;