glx: assign per screen driver configs (DRI2)

This commit is contained in:
RALOVICH, Kristóf 2009-07-23 17:05:43 +02:00 committed by Brian Paul
parent e32b601e7d
commit 82f4dc21cc
1 changed files with 2 additions and 0 deletions

View File

@ -481,6 +481,8 @@ static __GLXDRIscreen *dri2CreateScreen(__GLXscreenConfigs *psc, int screen,
psc->configs = driConvertConfigs(psc->core, psc->configs, driver_configs);
psc->visuals = driConvertConfigs(psc->core, psc->visuals, driver_configs);
psc->driver_configs = driver_configs;
psp->destroyScreen = dri2DestroyScreen;
psp->createContext = dri2CreateContext;
psp->createDrawable = dri2CreateDrawable;