projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
intel/perf: create a vtable entry for emit_report_count
[mesa.git]
/
src
/
mesa
/
state_tracker
/
st_vdpau.h
diff --git
a/src/mesa/state_tracker/st_vdpau.h
b/src/mesa/state_tracker/st_vdpau.h
index 59c744305cf39d817d24361b800565bff41b1ec2..6f4d46091f28f8d6813f390ded6df2f20a9d5de5 100644
(file)
--- a/
src/mesa/state_tracker/st_vdpau.h
+++ b/
src/mesa/state_tracker/st_vdpau.h
@@
-36,7
+36,12
@@
struct dd_function_table;
+#ifdef HAVE_ST_VDPAU
extern void
st_init_vdpau_functions(struct dd_function_table *functions);
+#else
+static inline void
+st_init_vdpau_functions(struct dd_function_table *functions) {}
+#endif
#endif /* ST_VDPAU_H */