Files
MINGW-packages/mingw-w64-python-pygame/002-camera-extension-fixes.patch
Jojo fc2a57c682 python-pygame: update to 2.5.1
* Remove hunk that redefines CLSID_VideoProcessorMFT
* use python-build
2023-09-14 12:07:46 +05:30

17 lines
343 B
Diff

diff --git a/src_c/camera.h b/src_c/camera.h
index 3079a9a3..4ccd1a4d 100644
--- a/src_c/camera.h
+++ b/src_c/camera.h
@@ -50,6 +50,11 @@
#if defined(__WIN32__)
#define PYGAME_WINDOWS_CAMERA 1
+#ifdef __MINGW32__
+#undef WINVER
+#define WINVER _WIN32_WINNT_WINBLUE
+#endif
+
#include <mfapi.h>
#include <mfobjects.h>
#include <mfidl.h>