[PATCH] Fix vlVaGetVtable
Heiher
admin at heiher.info
Tue Jul 26 01:11:30 PDT 2011
---
src/gallium/state_trackers/va/ftab.c | 4 ++--
src/gallium/state_trackers/va/va_private.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/va/ftab.c
b/src/gallium/state_trackers/va/ftab.c
index dc9513e..b2545e9 100644
--- a/src/gallium/state_trackers/va/ftab.c
+++ b/src/gallium/state_trackers/va/ftab.c
@@ -130,7 +130,7 @@ static struct VADriverVTable vtable =
NULL /* struct VADriverVTableGLX *glx; "Optional" */
};
-struct VADriverVTable vlVaGetVtable()
+struct VADriverVTable * vlVaGetVtable()
{
- return vtable;
+ return &vtable;
}
diff --git a/src/gallium/state_trackers/va/va_private.h
b/src/gallium/state_trackers/va/va_private.h
index f1023db..a382e05 100644
--- a/src/gallium/state_trackers/va/va_private.h
+++ b/src/gallium/state_trackers/va/va_private.h
@@ -61,7 +61,7 @@ typedef struct {
VAStatus __vaDriverInit_0_31 (VADriverContextP ctx);
// Private functions:
-struct VADriverVTable vlVaGetVtable();
+struct VADriverVTable * vlVaGetVtable();
bool vlCreateHTAB(void);
void vlDestroyHTAB(void);
--
1.7.2.3
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list