summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/dri/target.c')
-rw-r--r--src/gallium/targets/dri/target.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/target.c b/src/gallium/targets/dri/target.c
index 01532e242b8..98dfb15dbd2 100644
--- a/src/gallium/targets/dri/target.c
+++ b/src/gallium/targets/dri/target.c
@@ -162,3 +162,14 @@ PUBLIC const __DRIextension **__driDriverGetExtensions_i965(void)
}
#endif
#endif
+
+#if defined(GALLIUM_ETNAVIV)
+
+const __DRIextension **__driDriverGetExtensions_etnaviv(void);
+
+PUBLIC const __DRIextension **__driDriverGetExtensions_etnaviv(void)
+{
+ globalDriverAPI = &galliumdrm_driver_api;
+ return galliumdrm_driver_extensions;
+}
+#endif