mirror of
https://github.com/openwrt/video.git
synced 2026-04-15 10:51:58 +00:00
sdl2: update to 2.32.8
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=sdl2
|
PKG_NAME:=sdl2
|
||||||
PKG_VERSION:=2.30.9
|
PKG_VERSION:=2.32.8
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=SDL2-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=SDL2-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://www.libsdl.org/release/
|
PKG_SOURCE_URL:=https://www.libsdl.org/release/
|
||||||
PKG_HASH:=24b574f71c87a763f50704bbb630cbe38298d544a1f890f099a4696b1d6beba4
|
PKG_HASH:=0ca83e9c9b31e18288c7ec811108e58bac1f1bb5ec6577ad386830eac51c787e
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/SDL2-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/SDL2-$(PKG_VERSION)
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- a/src/video/wayland/SDL_waylandwindow.c
|
--- a/src/video/wayland/SDL_waylandwindow.c
|
||||||
+++ b/src/video/wayland/SDL_waylandwindow.c
|
+++ b/src/video/wayland/SDL_waylandwindow.c
|
||||||
@@ -2208,7 +2208,7 @@ void Wayland_DestroyWindow(_THIS, SDL_Wi
|
@@ -2292,7 +2292,7 @@ void Wayland_DestroyWindow(_THIS, SDL_Wi
|
||||||
SDL_VideoData *data = _this->driverdata;
|
SDL_VideoData *data = _this->driverdata;
|
||||||
SDL_WindowData *wind = window->driverdata;
|
SDL_WindowData *wind = window->driverdata;
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
#ifdef SDL_VIDEO_OPENGL_EGL
|
#ifdef SDL_VIDEO_OPENGL_EGL
|
||||||
if (wind->egl_surface) {
|
if (wind->egl_surface) {
|
||||||
SDL_EGL_DestroySurface(_this, wind->egl_surface);
|
SDL_EGL_DestroySurface(_this, wind->egl_surface);
|
||||||
@@ -2256,6 +2256,8 @@ void Wayland_DestroyWindow(_THIS, SDL_Wi
|
@@ -2346,6 +2346,8 @@ void Wayland_DestroyWindow(_THIS, SDL_Wi
|
||||||
wl_surface_destroy(wind->surface);
|
wl_surface_destroy(wind->surface);
|
||||||
|
|
||||||
SDL_free(wind);
|
SDL_free(wind);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- a/CMakeLists.txt
|
--- a/CMakeLists.txt
|
||||||
+++ b/CMakeLists.txt
|
+++ b/CMakeLists.txt
|
||||||
@@ -1622,7 +1622,6 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS
|
@@ -1632,7 +1632,6 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user