libepoxy 1.4.1
This commit is contained in:
parent
ba91947273
commit
2c119cb2e7
@ -1,39 +0,0 @@
|
|||||||
From 79b1a811651f41a0647d70d19c7b37c0d728ccfa Mon Sep 17 00:00:00 2001
|
|
||||||
From: Adam Jackson <ajax@redhat.com>
|
|
||||||
Date: Fri, 23 Sep 2016 03:22:21 -0400
|
|
||||||
Subject: [PATCH] egl: Be somewhat aware of EGL client extensions
|
|
||||||
|
|
||||||
Client extensions are only listed in eglQueryString(dpy=NULL). Without
|
|
||||||
this we can't call anything from e.g. EXT_platform_base.
|
|
||||||
|
|
||||||
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
||||||
---
|
|
||||||
src/dispatch_egl.c | 9 ++-------
|
|
||||||
1 file changed, 2 insertions(+), 7 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/dispatch_egl.c b/src/dispatch_egl.c
|
|
||||||
index 9649ba4..b42aacd 100644
|
|
||||||
--- a/src/dispatch_egl.c
|
|
||||||
+++ b/src/dispatch_egl.c
|
|
||||||
@@ -54,16 +54,11 @@ epoxy_egl_version(EGLDisplay dpy)
|
|
||||||
bool
|
|
||||||
epoxy_conservative_has_egl_extension(const char *ext)
|
|
||||||
{
|
|
||||||
- EGLDisplay dpy = eglGetCurrentDisplay();
|
|
||||||
-
|
|
||||||
- if (!dpy)
|
|
||||||
- return true;
|
|
||||||
-
|
|
||||||
- return epoxy_has_egl_extension(dpy, ext);
|
|
||||||
+ return epoxy_has_egl_extension(eglGetCurrentDisplay(), ext);
|
|
||||||
}
|
|
||||||
|
|
||||||
PUBLIC bool
|
|
||||||
epoxy_has_egl_extension(EGLDisplay dpy, const char *ext)
|
|
||||||
{
|
|
||||||
- return epoxy_extension_in_string(eglQueryString(dpy, EGL_EXTENSIONS), ext);
|
|
||||||
+ return epoxy_extension_in_string(eglQueryString(dpy, EGL_EXTENSIONS), ext) || epoxy_extension_in_string(eglQueryString(NULL, EGL_EXTENSIONS), ext);
|
|
||||||
}
|
|
||||||
--
|
|
||||||
2.9.3
|
|
||||||
|
|
@ -5,15 +5,13 @@
|
|||||||
|
|
||||||
Summary: epoxy runtime library
|
Summary: epoxy runtime library
|
||||||
Name: libepoxy
|
Name: libepoxy
|
||||||
Version: 1.3.1
|
Version: 1.4.1
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://github.com/anholt/libepoxy
|
URL: http://github.com/anholt/libepoxy
|
||||||
# github url - generated archive
|
# github url - generated archive
|
||||||
#ource0: https://github.com/anholt/libepoxy/archive/%{commit}/%{name}-%{commit}.tar.gz
|
#ource0: https://github.com/anholt/libepoxy/archive/%{commit}/%{name}-%{commit}.tar.gz
|
||||||
Source0: https://github.com/anholt/libepoxy/archive/v%{version}/v%{version}.tar.gz
|
Source0: https://github.com/anholt/libepoxy/archive/libepoxy-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0: 0001-egl-Be-somewhat-aware-of-EGL-client-extensions.patch
|
|
||||||
|
|
||||||
BuildRequires: automake autoconf libtool
|
BuildRequires: automake autoconf libtool
|
||||||
BuildRequires: mesa-libGL-devel
|
BuildRequires: mesa-libGL-devel
|
||||||
@ -35,7 +33,6 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .clientext
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -vif || exit 1
|
autoreconf -vif || exit 1
|
||||||
@ -72,6 +69,9 @@ make check ||:
|
|||||||
%{_libdir}/pkgconfig/epoxy.pc
|
%{_libdir}/pkgconfig/epoxy.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 09 2017 Dave Airlie <airlied@redhat.com> - 1.4.1-1
|
||||||
|
- libepoxy 1.4.1
|
||||||
|
|
||||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-4
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user