0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-19 20:32:15 +02:00

libobs/graphics: gs_query_dmabuf_* on FreeBSD too

This commit is contained in:
obiwac 2022-02-24 19:26:03 +01:00 committed by Jim
parent aa0893b751
commit c50c625555

View File

@ -936,7 +936,7 @@ EXPORT gs_stagesurf_t *gs_stagesurface_create_nv12(uint32_t width,
EXPORT void gs_register_loss_callbacks(const struct gs_device_loss *callbacks);
EXPORT void gs_unregister_loss_callbacks(void *data);
#elif __linux__
#elif defined(__linux__) || defined(__FreeBSD__)
EXPORT gs_texture_t *gs_texture_create_from_dmabuf(
unsigned int width, unsigned int height, uint32_t drm_format,