On 04/22/2013 11:38 AM, 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);
     COPY_DISPATCH(UnmapBuffer);
-   COPY_DISPATCH(MapBufferRange);
+   COPY_DISPATCH(MapBuffer);
     COPY_DISPATCH(MapBufferRange);
     COPY_DISPATCH(ObjectPurgeableAPPLE);
     COPY_DISPATCH(ObjectUnpurgeableAPPLE);

Jose pointed out that MapBuffer already appears a few lines earlier. I'll post a new patch that just removes the duplicate.

-Brian
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to