[Mesa-dev] [PATCH] mesa: enable remap table when --enable-shared-glapi
Brian Paul
brianp at vmware.com
Wed Feb 8 17:03:51 PST 2012
On 02/08/2012 05:39 PM, Matt Turner wrote:
> On Wed, Feb 8, 2012 at 7:30 PM, Brian Paul<brianp at vmware.com> wrote:
>> On 02/08/2012 09:48 AM, Matt Turner wrote:
>>>
>>> On Mon, Feb 6, 2012 at 12:05 PM, Matt Turner<mattst88 at gmail.com> wrote:
>>>>
>>>> From: Chia-I Wu<olv at lunarg.com>
>>>>
>>>> As libGL will use libglapi for function lookups, we need to enable the
>>>> remap
>>>> table.
>>>>
>>>> Tested-by: Matt Turner<mattst88 at gmail.com>
>>>> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=45660
>>>> ---
>>>> configure.ac | 3 +++
>>>> 1 files changed, 3 insertions(+), 0 deletions(-)
>>>>
>>>> diff --git a/configure.ac b/configure.ac
>>>> index af1e914..609cdea 100644
>>>> --- a/configure.ac
>>>> +++ b/configure.ac
>>>> @@ -698,6 +698,9 @@ AC_ARG_ENABLE([shared-glapi],
>>>> SHARED_GLAPI="0"
>>>> if test "x$enable_shared_glapi" = xyes; then
>>>> SHARED_GLAPI="1"
>>>> + # libGL will use libglapi for function lookups (IN_DRI_DRIVER means
>>>> to use
>>>> + # the remap table)
>>>> + DEFINES="$DEFINES -DIN_DRI_DRIVER"
>>>> fi
>>>> AC_SUBST([SHARED_GLAPI])
>>>
>>>
>>> Brian,
>>>
>>> This fixes a bug that you reported with shared-glapi. Could you take a
>>> look?
>>
>>
>> I don't recall filing a bug about this, but it looks good to me.
>>
>> -Brian
>
> It was on the mailing list,
> http://lists.freedesktop.org/archives/mesa-dev/2012-January/018004.html
That problem seems to have been fixed at some point. I didn't have to
apply the above patch.
-Brian
More information about the mesa-dev
mailing list