Skip to content

Commit

Permalink
libobs: Export NV12/P010 functions
Browse files Browse the repository at this point in the history
NV12 and P010 device functions were not exported on all platforms.
Windows was exporting from C files instead. After CMake 3.0 we started
hiding symbols and resolution failed.
  • Loading branch information
kkartaltepe authored and RytoEX committed Apr 19, 2024
1 parent 83383c1 commit 10bfa99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libobs/graphics/device-exports.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ EXPORT void device_debug_marker_begin(gs_device_t *device,
EXPORT void device_debug_marker_end(gs_device_t *device);
EXPORT bool device_is_monitor_hdr(gs_device_t *device, void *monitor);
EXPORT bool device_shared_texture_available(void);
EXPORT bool device_nv12_available(gs_device_t *device);
EXPORT bool device_p010_available(gs_device_t *device);

#ifdef __APPLE__
EXPORT gs_texture_t *device_texture_create_from_iosurface(gs_device_t *device,
Expand Down

0 comments on commit 10bfa99

Please sign in to comment.