diff options
Diffstat (limited to 'src/gallium/targets/egl-vmwgfx')
-rw-r--r-- | src/gallium/targets/egl-vmwgfx/Makefile | 2 | ||||
-rw-r--r-- | src/gallium/targets/egl-vmwgfx/target.c (renamed from src/gallium/targets/egl-vmwgfx/dummy.c) | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/targets/egl-vmwgfx/Makefile b/src/gallium/targets/egl-vmwgfx/Makefile index a9f6874b981..a25bf8885d4 100644 --- a/src/gallium/targets/egl-vmwgfx/Makefile +++ b/src/gallium/targets/egl-vmwgfx/Makefile @@ -2,7 +2,7 @@ TOP = ../../../.. include $(TOP)/configs/current EGL_DRIVER_NAME = vmwgfx -EGL_DRIVER_SOURCES = dummy.c +EGL_DRIVER_SOURCES = target.c EGL_DRIVER_LIBS = EGL_DRIVER_PIPES = \ diff --git a/src/gallium/targets/egl-vmwgfx/dummy.c b/src/gallium/targets/egl-vmwgfx/target.c index 3181d0ba7e8..39a829a2305 100644 --- a/src/gallium/targets/egl-vmwgfx/dummy.c +++ b/src/gallium/targets/egl-vmwgfx/target.c @@ -1,3 +1,7 @@ +#include "target-helpers/drm_api_compat.h" + +DRM_API_COMPAT_STRUCT("vmwgfx", "vmwgfx") + /* A poor man's --whole-archive for EGL drivers */ void *_eglMain(void *); void *_eglWholeArchive = (void *) _eglMain; |