Tighten up ma_context_get_backend_info().

This commit is contained in:
David Reid
2026-01-07 16:37:59 +10:00
parent 5095548174
commit 61f1f8b457
+7 -1
View File
@@ -44790,7 +44790,13 @@ MA_API void* ma_context_get_backend_state(ma_context* pContext)
MA_API void ma_context_get_backend_info(ma_context* pContext, ma_device_backend_info* pBackendInfo)
{
if (pContext == NULL || pBackendInfo == NULL) {
if (pBackendInfo == NULL) {
return;
}
MA_ZERO_OBJECT(pBackendInfo);
if (pContext == NULL) {
return;
}