summaryrefslogtreecommitdiff
path: root/GL
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2007-03-09 14:18:14 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2007-03-09 14:18:14 +0000
commit4bf1b280f7cb676ec2b172f26dd2ad9bac2eb2ca (patch)
treeb6bc0b98555b551817b7f341a271d70e1160e99d /GL
parentc366b82bd50066019cf82b3464445d5bc27d6f9f (diff)
Set pScreen on context
Diffstat (limited to 'GL')
-rw-r--r--GL/glx/glxdri.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/GL/glx/glxdri.c b/GL/glx/glxdri.c
index e03570468..5e683a8ab 100644
--- a/GL/glx/glxdri.c
+++ b/GL/glx/glxdri.c
@@ -495,6 +495,7 @@ __glXDRIscreenCreateContext(__GLXscreen *baseScreen,
context->base.loseCurrent = __glXDRIcontextLoseCurrent;
context->base.copy = __glXDRIcontextCopy;
context->base.forceCurrent = __glXDRIcontextForceCurrent;
+ context->base.pScreen = screen->base.pScreen;
context->base.textureFromPixmap = &__glXDRItextureFromPixmap;