create a sizing callback for the preview panel specifically, apparently on macos the window size isn't guaranteed to be the size it's set to in the main window size handler
This commit is contained in:
@@ -425,7 +425,7 @@ bool obs_enum_output_types(size_t idx, const char **id)
|
||||
|
||||
graphics_t obs_graphics(void)
|
||||
{
|
||||
return obs->video.graphics;
|
||||
return (obs != NULL) ? obs->video.graphics : NULL;
|
||||
}
|
||||
|
||||
media_t obs_media(void)
|
||||
|
Reference in New Issue
Block a user