meson: Bump SDL3 wrap

This commit is contained in:
Matt Borgerson
2026-01-31 12:27:42 -07:00
committed by mborgerson
parent e2e12a1559
commit df47b4a7e2
2 changed files with 6 additions and 35 deletions
@@ -1,28 +0,0 @@
diff --git a/meson.build b/meson.build
index 1111111..2222222 100644
--- a/meson.build
+++ b/meson.build
@@ -372,6 +372,11 @@ elif host_machine.system() == 'windows'
cdata.set('SDL_GPU_D3D12', 1)
cdata.set('SDL_VIDEO_VULKAN', 1)
cdata.set('SDL_VIDEO_RENDER_VULKAN', 1)
+ # OpenGL support
+ cdata.set('SDL_VIDEO_OPENGL', 1)
+ cdata.set('SDL_VIDEO_OPENGL_WGL', 1)
+ cdata.set('SDL_VIDEO_RENDER_OGL', 1)
+ sdl_deps += cc.find_library('opengl32')
if have_xinput_header
cdata.set('SDL_JOYSTICK_XINPUT', 1)
diff --git a/src/render/meson.build b/src/render/meson.build
index 3333333..4444444 100644
--- a/src/render/meson.build
+++ b/src/render/meson.build
@@ -3,6 +3,7 @@ subdir('software')
if host_machine.system() == 'windows'
subdir('direct3d12')
+ subdir('opengl')
subdir('vulkan')
elif host_machine.system() == 'darwin'
subdir('metal')
+6 -7
View File
@@ -3,13 +3,12 @@ directory = SDL3-3.4.0
source_url = https://github.com/libsdl-org/SDL/releases/download/release-3.4.0/SDL3-3.4.0.tar.gz
source_filename = SDL3-3.4.0.tar.gz
source_hash = 082cbf5f429e0d80820f68dc2b507a94d4cc1b4e70817b119bbb8ec6a69584b8
source_fallback_url = https://wrapdb.mesonbuild.com/v2/sdl3_3.4.0-1/get_source/SDL3-3.4.0.tar.gz
patch_filename = sdl3_3.4.0-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/sdl3_3.4.0-1/get_patch
patch_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/sdl3_3.4.0-1/sdl3_3.4.0-1_patch.zip
patch_hash = 119f82372d97114b8aa044f2a19cae5450b1891db7bb3b6dedeac4ab0579dfb5
wrapdb_version = 3.4.0-1
diff_files = sdl3/windows-opengl-support.patch
source_fallback_url = https://wrapdb.mesonbuild.com/v2/sdl3_3.4.0-2/get_source/SDL3-3.4.0.tar.gz
patch_filename = sdl3_3.4.0-2_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/sdl3_3.4.0-2/get_patch
patch_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/sdl3_3.4.0-2/sdl3_3.4.0-2_patch.zip
patch_hash = 0ef4e75d1a2416c71406d81cfbe5733caabfb86d1a2a551e62cd66e78bf23472
wrapdb_version = 3.4.0-2
[provide]
dependency_names = sdl3