mystuff/multimedia/obs-studio/patches/patch-libobs_graphics_graph...

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;