mystuff/multimedia/obs-studio/patches/patch-libobs_graphics_graphics_h
2023-01-10 11:45:28 +01:00

15 lines
440 B
Plaintext

$OpenBSD$
Index: libobs/graphics/graphics.h
--- libobs/graphics/graphics.h.orig
+++ libobs/graphics/graphics.h
@@ -474,7 +474,7 @@ struct gs_window {
void *hwnd;
#elif defined(__APPLE__)
__unsafe_unretained id view;
-#elif defined(__linux__) || defined(__FreeBSD__)
+#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)
/* I'm not sure how portable defining id to uint32_t is. */
uint32_t id;
void *display;