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

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu May 12 13:18:01 UTC 2011


Module: Mesa
Branch: 7.10
Commit: 348779a1fc2e106194992036f67c6a37dc574ad9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=348779a1fc2e106194992036f67c6a37dc574ad9

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 6c0c556..ef7829f 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -9587,9 +9587,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