Mesa (master): mesa: Fix GetVertexAttrib* inside display lists.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu May 12 00:10:05 UTC 2011


Module: Mesa
Branch: master
Commit: 32a95cb70cb73b9a7855baffaf00f4ea7b3a30c2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=32a95cb70cb73b9a7855baffaf00f4ea7b3a30c2

Author: José Fonseca <jose.r.fonseca at gmail.com>
Date:   Thu May 12 01:08:56 2011 +0100

mesa: Fix GetVertexAttrib* inside display lists.

GetVertexAttrib*{,ARB} is no longer aliased to the NV calls.

This fixes tracing yofrankie with apitrace, given it requires accurate
results from GetVertexAttribiv*.

NOTE: This is a candidate for the stable branches.

---

 src/mesa/main/dlist.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 63653df..930236c 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -9784,9 +9784,9 @@ _mesa_create_save_table(void)
    SET_DeleteProgramsNV(table, _mesa_DeletePrograms);
    SET_GenProgramsNV(table, _mesa_GenPrograms);
    SET_IsProgramNV(table, _mesa_IsProgramARB);
-   SET_GetVertexAttribdvNV(table, _mesa_GetVertexAttribdvNV);
-   SET_GetVertexAttribfvNV(table, _mesa_GetVertexAttribfvNV);
-   SET_GetVertexAttribivNV(table, _mesa_GetVertexAttribivNV);
+   SET_GetVertexAttribdvARB(table, _mesa_GetVertexAttribdvARB);
+   SET_GetVertexAttribfvARB(table, _mesa_GetVertexAttribfvARB);
+   SET_GetVertexAttribivARB(table, _mesa_GetVertexAttribivARB);
    SET_GetVertexAttribPointervNV(table, _mesa_GetVertexAttribPointervNV);
    SET_ProgramEnvParameter4dARB(table, save_ProgramEnvParameter4dARB);
    SET_ProgramEnvParameter4dvARB(table, save_ProgramEnvParameter4dvARB);




More information about the mesa-commit mailing list