We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e57805 commit 96c033cCopy full SHA for 96c033c
src_c/_pygame.h
@@ -284,6 +284,10 @@ typedef enum {
284
SDL_ACTIVEEVENT = SDL_USEREVENT,
285
SDL_VIDEORESIZE,
286
SDL_VIDEOEXPOSE,
287
+#if SDL_VERSION_ATLEAST(3, 0, 0)
288
+ /* SDL_SYSWMEVENT removed in SDL3, define it here for compat */
289
+ SDL_SYSWMEVENT,
290
+#endif
291
292
PGE_MIDIIN,
293
PGE_MIDIOUT,
src_c/meson.build
@@ -18,8 +18,6 @@ color = py.extension_module(
18
subdir: pg,
19
)
20
21
-# TODO: support SDL3
22
-if sdl_api != 3
23
constants = py.extension_module(
24
'constants',
25
'constants.c',
@@ -28,7 +26,6 @@ constants = py.extension_module(
28
26
install: true,
29
27
30
31
-endif
32
33
# TODO: support SDL3
34
if sdl_api != 3
0 commit comments