소스 검색

libobs: Add support for FreeBSD to gs_window

Enable the X11 specific members in the gs_window struct when on FreeBSD.
Kris Moore 10 년 전
부모
커밋
9c483aae10
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      libobs/graphics/graphics.h

+ 1 - 1
libobs/graphics/graphics.h

@@ -426,7 +426,7 @@ struct gs_window {
 	void                    *hwnd;
 #elif defined(__APPLE__)
 	__unsafe_unretained id  view;
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__FreeBSD__)
 	/* I'm not sure how portable defining id to uint32_t is. */
 	uint32_t id;
 	void* display;