aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel_winsys/intel_screen.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-05 11:38:46 -0700
committerBrian <[email protected]>2007-11-05 11:38:46 -0700
commit736baf22e98a28ed714c31650d1cee78b5b381f4 (patch)
treec09c2b59106002a56eeba613bc6109afcb52601e /src/mesa/drivers/dri/intel_winsys/intel_screen.c
parentcd360b7d60721883390215ac33623636a222cde2 (diff)
remove driScrnPriv field from intel_screen
Diffstat (limited to 'src/mesa/drivers/dri/intel_winsys/intel_screen.c')
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_screen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_screen.c b/src/mesa/drivers/dri/intel_winsys/intel_screen.c
index 332dc464618..646c4ec911a 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_screen.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_screen.c
@@ -157,10 +157,10 @@ intelUpdateScreenRotation(__DRIscreenPrivate * sPriv, drmI830Sarea * sarea)
GLboolean
-intelCreatePools(intelScreenPrivate *intelScreen)
+intelCreatePools(__DRIscreenPrivate * sPriv)
{
unsigned batchPoolSize = 1024*1024;
- __DRIscreenPrivate * sPriv = intelScreen->driScrnPriv;
+ intelScreenPrivate *intelScreen = sPriv->private;
if (intelScreen->havePools)
return GL_TRUE;
@@ -221,7 +221,6 @@ intelInitDriver(__DRIscreenPrivate * sPriv)
driParseOptionInfo(&intelScreen->optionCache,
__driConfigOptions, __driNConfigOptions);
- intelScreen->driScrnPriv = sPriv;
sPriv->private = (void *) intelScreen;
intelScreen->sarea = (drmI830Sarea *) (((GLubyte *) sPriv->pSAREA) +