summarylogtreecommitdiffstats
path: root/0005-gl-renderer-Accept-non-NULL-empty-visual_id-arrays.patch
diff options
context:
space:
mode:
Diffstat (limited to '0005-gl-renderer-Accept-non-NULL-empty-visual_id-arrays.patch')
-rw-r--r--0005-gl-renderer-Accept-non-NULL-empty-visual_id-arrays.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/0005-gl-renderer-Accept-non-NULL-empty-visual_id-arrays.patch b/0005-gl-renderer-Accept-non-NULL-empty-visual_id-arrays.patch
deleted file mode 100644
index 0b16279fae7..00000000000
--- a/0005-gl-renderer-Accept-non-NULL-empty-visual_id-arrays.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 7c056812b4c233b8af919e4d3db44a887e948b03 Mon Sep 17 00:00:00 2001
-From: "Miguel A. Vico" <mvicomoya@nvidia.com>
-Date: Wed, 30 Mar 2016 15:29:37 +0200
-Subject: [PATCH 05/12] gl-renderer: Accept non-NULL empty <visual_id> arrays
-X-NVConfidentiality: public
-
-This change modifies egl_choose_config() to accept a non-NULL but empty
-<visual_id> array (i.e. n_ids == 0)
-
-Signed-off-by: Miguel A Vico Moya <mvicomoya@nvidia.com>
-Reviewed-by: Andy Ritger <aritger@nvidia.com>
-Reviewed-by: James Jones <jajones@nvidia.com>
----
- libweston/gl-renderer.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libweston/gl-renderer.c b/libweston/gl-renderer.c
-index 736394a53eed..3ffd0dd8e3b7 100644
---- a/libweston/gl-renderer.c
-+++ b/libweston/gl-renderer.c
-@@ -2490,7 +2490,7 @@ egl_choose_config(struct gl_renderer *gr, const EGLint *attribs,
- goto out;
- }
-
-- if (!visual_id)
-+ if (!visual_id || n_ids == 0)
- config_index = 0;
-
- for (i = 0; config_index == -1 && i < n_ids; i++)
---
-2.10.2
-