From 4a3b6df7c286005f71892115d19a50d3fe9c2597 Mon Sep 17 00:00:00 2001 From: Starbuck5 <46412508+Starbuck5@users.noreply.github.com> Date: Sun, 6 Oct 2024 00:48:51 -0700 Subject: [PATCH] Enable rwobject SDL3 in meson --- meson.build | 3 +-- src_c/meson.build | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/meson.build b/meson.build index 042742aa07..f07a4bd0bf 100644 --- a/meson.build +++ b/meson.build @@ -85,8 +85,7 @@ sdl_ttf = '@0@_ttf'.format(sdl) sdl_image = '@0@_image'.format(sdl) if sdl_api == 3 - add_global_arguments('-DPG_SDL3=1', language: 'c') - add_global_arguments('-DSDL_ENABLE_OLD_NAMES=1', language: 'c') + add_global_arguments('-DPG_SDL3=1', '-DSDL_ENABLE_OLD_NAMES=1', language: 'c') endif pg_inc_dirs = [] diff --git a/src_c/meson.build b/src_c/meson.build index 9804e7cdfe..f2eb2a02d1 100644 --- a/src_c/meson.build +++ b/src_c/meson.build @@ -93,8 +93,6 @@ rect = py.extension_module( subdir: pg, ) -# TODO: support SDL3 -if sdl_api != 3 rwobject = py.extension_module( 'rwobject', 'rwobject.c', @@ -103,7 +101,6 @@ rwobject = py.extension_module( install: true, subdir: pg, ) -endif # TODO: support SDL3 if sdl_api != 3