[Mesa-dev] [PATCH] gallium/st: Use driver name to access driconf
Michel Dänzer
michel at daenzer.net
Wed Aug 15 01:48:13 PDT 2012
On Mit, 2012-08-15 at 03:45 +0300, Maxim Levitsky wrote:
> This fixes fetching driconf options from the gallium drivers.
>
> Patch written by, Carl-Philip Haensch
> (http://lists.freedesktop.org/archives/mesa-dev/2011-May/007743.html)
This should be reflected in the Git authorship directly.
> @@ -103,8 +104,8 @@ dri_create_context(gl_api api, const struct gl_config * visual,
> ctx->cPriv = cPriv;
> ctx->sPriv = sPriv;
>
> - driParseConfigFiles(&ctx->optionCache,
> - &screen->optionCache, sPriv->myNum, "dri");
> + driParseConfigFiles(&ctx->optionCache, &screen->optionCache,
> + sPriv->myNum, driver_descriptor.name);
Unfortunately, this breaks the src/gallium/targets/dri-swrast build:
swrast_dri.so.tmp: undefined reference to `driver_descriptor'
collect2: error: ld returned 1 exit status
make[3]: *** [swrast_dri.so] Error 1
make[3]: Leaving directory `/home/daenzer/src/mesa-git/mesa/src/gallium/targets/dri-swrast'
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Debian, X and DRI developer
More information about the mesa-dev
mailing list