Skip to content

Commit

Permalink
Update version to 0.7.1-1
Browse files Browse the repository at this point in the history
  • Loading branch information
ehopperdietzel committed Aug 15, 2024
1 parent 13ea50a commit 94a6f6e
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 9 deletions.
17 changes: 17 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
SRM (0.7.1-1)

# Bug Fixes

* Resolved a crash on certain EGL implementations when obtaining a GBM EGLDisplay through eglGetDisplay(). This was fixed by using eglGetPlatformDisplay() instead. Credits to @burgerindividual.

# Downloads

* Added link to Fedora package. Credits to @Conan-Kudo.

# Dependencies

* Updated EGL dependency to version 1.5 or higher.

-- Eduardo Hopperdietzel <ehopperdietzel@gmail.com> Wed, 14 Aug 2024 22:06:30 -0400


SRM (0.7.0-1)

# API Additions
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="SRM is released under the MIT license." />
</a>
<a href="https://github.com/CuarzoSoftware/SRM">
<img src="https://img.shields.io/badge/version-0.7.0-brightgreen" alt="Current SRM version." />
<img src="https://img.shields.io/badge/version-0.7.1-brightgreen" alt="Current SRM version." />
</a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.0
0.7.1
3 changes: 2 additions & 1 deletion doxygen/md/Downloads.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Pre-built binaries are provided for the following distributions. Please be aware

* **Arch** : [libsrm](https://aur.archlinux.org/packages/libsrm) - *Thanks to [@TrialnError](https://aur.archlinux.org/account/TrialnError)*.
* **Debian** : [libsrm](https://packages.debian.org/source/sid/libsrm) - *Thanks to [Sudip Mukherjee](https://github.com/sudipm-mukherjee)*.
* **Fedora** : [libsrm](https://copr.fedorainfracloud.org/coprs/ngompa/louvre) - *Thanks to [Neal Gompa](https://github.com/Conan-Kudo)*.
* **NixOS** : [srm-cuarzo](https://search.nixos.org/packages?channel=unstable&show=srm-cuarzo&from=0&size=50&sort=relevance&type=packages&query=srm) - *Thanks to [Marco Rebhan](https://github.com/2xsaiko)*.

## Manual Building
Expand All @@ -17,7 +18,7 @@ SRM depends on the following libraries:
* libudev
* libdrm
* libgbm
* libEGL
* libEGL >= 1.5
* libGLESv2

The **srm-multi-session** example also require:
Expand Down
7 changes: 2 additions & 5 deletions src/lib/private/SRMDevicePrivate.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,9 @@ void srmDeviceUninitializeGBM(SRMDevice *device)
UInt8 srmDeviceInitializeEGL(SRMDevice *device)
{
#ifdef EGL_PLATFORM_GBM_KHR
if (device->core->eglFunctions.eglGetPlatformDisplayEXT)
device->eglDisplay = device->core->eglFunctions.eglGetPlatformDisplayEXT(EGL_PLATFORM_GBM_KHR, device->gbm, NULL);
else
device->eglDisplay = eglGetDisplay(device->gbm);
device->eglDisplay = eglGetPlatformDisplay(EGL_PLATFORM_GBM_KHR, device->gbm, NULL);
#else
device->eglDisplay = eglGetDisplay(device->gbm);
device->eglDisplay = eglGetDisplay(device->gbm);
#endif

if (device->eglDisplay == EGL_NO_DISPLAY)
Expand Down
2 changes: 1 addition & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ include_paths = ['./lib', conf_file_inc]

pkg = import('pkgconfig')
gl_dep = dependency('gl')
egl_dep = dependency('egl')
egl_dep = dependency('egl', version: '>= 1.5')
glesv2_dep = dependency('glesv2')
udev_dep = dependency('libudev')
drm_dep = dependency('libdrm')
Expand Down

0 comments on commit 94a6f6e

Please sign in to comment.