Skip to content

Commit 345cf31

Browse files
committed
remove vendor patch, let that to implementations import systems
1 parent c0ac10a commit 345cf31

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src_py/__init__.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -379,16 +379,6 @@ def __color_reduce(c):
379379

380380
copyreg.pickle(Color, __color_reduce, __color_constructor)
381381

382-
# This is the wasm "vendor" patch that allows to bind certain modules
383-
# like eg camera or mixer.music to host implementation.
384-
# also allow for experimenting more support without need to modify pygame.
385-
if sys.platform in ("wasi", "emscripten"):
386-
try:
387-
import pygame_wasm_patches
388-
del pygame_wasm_patches
389-
except (ImportError, OSError):
390-
pass
391-
392382
# Thanks for supporting pygame. Without support now, there won't be pygame later.
393383
if "PYGAME_HIDE_SUPPORT_PROMPT" not in os.environ:
394384
print(

0 commit comments

Comments
 (0)