From bd8336748f73450d8b5a0f27fc57d36ce7f7561c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Fri, 24 Jul 2015 10:24:51 +0200 Subject: [PATCH 2/2] winsys/amdgpu: make amdgpu_winsys_create public MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Should fix VDPAU/OpenGL interop. Signed-off-by: Christian König --- src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c index 7cdb976..e3b7577 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c @@ -447,8 +447,8 @@ static bool amdgpu_winsys_unref(struct radeon_winsys *ws) return destroy; } -struct radeon_winsys * - amdgpu_winsys_create(int fd, radeon_screen_create_t screen_create) +PUBLIC struct radeon_winsys * +amdgpu_winsys_create(int fd, radeon_screen_create_t screen_create) { struct amdgpu_winsys *ws; drmVersionPtr version = drmGetVersion(fd); -- 1.9.1