aboutsummaryrefslogtreecommitdiff
path: root/graphics/mesa-demos/files/patch-src_egl_opengl_eglkms.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mesa-demos/files/patch-src_egl_opengl_eglkms.c')
-rw-r--r--graphics/mesa-demos/files/patch-src_egl_opengl_eglkms.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/graphics/mesa-demos/files/patch-src_egl_opengl_eglkms.c b/graphics/mesa-demos/files/patch-src_egl_opengl_eglkms.c
deleted file mode 100644
index 5f9f35dd4c8f..000000000000
--- a/graphics/mesa-demos/files/patch-src_egl_opengl_eglkms.c
+++ /dev/null
@@ -1,16 +0,0 @@
-# Fix an uninitialized variable in a particular execution path
-#
-# While it would be better design to initialize the error value
-# at the start, it is set in every other error path so the least
-# intrusive correction is to set it in the one missed path.
-#
---- src/egl/opengl/eglkms.c.orig 2012-08-28 14:31:17 UTC
-+++ src/egl/opengl/eglkms.c
-@@ -212,6 +212,7 @@ int main(int argc, char *argv[])
-
- if (!eglChooseConfig(dpy, attribs, &config, 1, &n) || n != 1) {
- fprintf(stderr, "failed to choose argb config\n");
-+ ret = -1;
- goto egl_terminate;
- }
-