[Mesa-dev] [PATCH] mesa: fix MapBufferRange/MapBuffer typo in create_beginend_table()

Ferry Huberts mailings at hupie.com
Mon Apr 22 13:05:25 PDT 2013



On 22/04/13 21:03, Brian Paul wrote:
> On 04/22/2013 12:17 PM, Ferry Huberts wrote:
>>
>>
>> On 22/04/13 19:38, Brian Paul wrote:
>>> MapBufferRange was present twice.  MapBuffer was missing.
>>>
>>> Note: This is a candidate for the stable branches.
>>> ---
>>>   src/mesa/main/context.c |    2 +-
>>>   1 files changed, 1 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
>>> index ce76243..0fb57ad 100644
>>> --- a/src/mesa/main/context.c
>>> +++ b/src/mesa/main/context.c
>>> @@ -922,7 +922,7 @@ create_beginend_table(const struct gl_context *ctx)
>>>      COPY_DISPATCH(ClientWaitSync);
>>>      COPY_DISPATCH(MapBuffer);
>>
>> It's already here
> 
> Yeah, Jose spotted that.  Fixed.
> 
> 
>>>      COPY_DISPATCH(UnmapBuffer);
>>> -   COPY_DISPATCH(MapBufferRange);
>>> +   COPY_DISPATCH(MapBuffer);
>>>      COPY_DISPATCH(MapBufferRange);
>>
>> Maybe 'UnmapBufferRange'?
> 
> There's no such GL function.

I'm not limited by any form of knowledge in the GL area ;-)
Just guessed the symmetrical thing :-)

Following the list out of intense interest, and have to compliment all
of you on your work! Much appreciated.



> 
> -Brian
> 

-- 
Ferry Huberts


More information about the mesa-dev mailing list