mesa/0001-virgl-pipe_virgl_create_screen-is-not-static.patch
Igor Gnatenko c697abeb26 apply patch for virgl
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-11-22 10:15:16 +01:00

27 lines
971 B
Diff

From d94d9236e40f8fdf93dd791c8ead803caeb0fbdc Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Date: Sun, 22 Nov 2015 10:10:01 +0100
Subject: [PATCH] virgl: pipe_virgl_create_screen is not static
Reference: https://bugs.freedesktop.org/show_bug.cgi?id=93063
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
---
src/gallium/auxiliary/target-helpers/drm_helper.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/target-helpers/drm_helper.h b/src/gallium/auxiliary/target-helpers/drm_helper.h
index 73a80b6..332b1cb 100644
--- a/src/gallium/auxiliary/target-helpers/drm_helper.h
+++ b/src/gallium/auxiliary/target-helpers/drm_helper.h
@@ -223,7 +223,7 @@ pipe_freedreno_create_screen(int fd)
#include "virgl/drm/virgl_drm_public.h"
#include "virgl/virgl_public.h"
-static struct pipe_screen *
+struct pipe_screen *
pipe_virgl_create_screen(int fd)
{
struct virgl_winsys *vws;
--
2.6.3