/[packages]/cauldron/mesa/current/SOURCES/0049-egl-haiku-Fix-reference-to-disp-vs-dpy.patch
ViewVC logotype

Contents of /cauldron/mesa/current/SOURCES/0049-egl-haiku-Fix-reference-to-disp-vs-dpy.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1355920 - (show annotations) (download)
Sun Jan 13 14:22:00 2019 UTC (5 years, 3 months ago) by tmb
File size: 1185 byte(s)
add current fixes from upstream staging/18.3 branch
1 From 65f7c848352f8c5224bc3b5ee338409276d1ddf2 Mon Sep 17 00:00:00 2001
2 From: Alexander von Gluck IV <kallisti5@unixzen.com>
3 Date: Thu, 27 Dec 2018 20:41:47 +0000
4 Subject: [PATCH 49/78] egl/haiku: Fix reference to disp vs dpy
5
6 Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
7 Fixes: 00992700c9a812a54563 "egl: set the EGLDevice when creating a display"
8 (cherry picked from commit 1b97a72328b7b549aa8d050495f504815444c0dd)
9 ---
10 src/egl/drivers/haiku/egl_haiku.cpp | 3 ++-
11 1 file changed, 2 insertions(+), 1 deletion(-)
12
13 diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp
14 index a9c5cf8d29..d4b046c79b 100644
15 --- a/src/egl/drivers/haiku/egl_haiku.cpp
16 +++ b/src/egl/drivers/haiku/egl_haiku.cpp
17 @@ -29,6 +29,7 @@
18
19 #include "eglconfig.h"
20 #include "eglcontext.h"
21 +#include "egldevice.h"
22 #include "egldisplay.h"
23 #include "egldriver.h"
24 #include "eglcurrent.h"
25 @@ -215,7 +216,7 @@ init_haiku(_EGLDriver *drv, _EGLDisplay *dpy)
26 _eglError(EGL_NOT_INITIALIZED, "DRI2: failed to find EGLDevice");
27 return EGL_FALSE;
28 }
29 - disp->Device = dev;
30 + dpy->Device = dev;
31
32 TRACE("Add configs\n");
33 if (!haiku_add_configs_for_visuals(dpy))
34 --
35 2.20.1
36

  ViewVC Help
Powered by ViewVC 1.1.30