Fix some errors with the SDL backend.

This commit is contained in:
David Reid
2023-08-17 19:29:27 +10:00
parent 7e01c6535b
commit ed68fda5d0
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -619,9 +619,9 @@ static ma_device_backend_vtable ma_gDeviceBackendVTable_SDL =
NULL /* onDeviceGetInfo */ NULL /* onDeviceGetInfo */
}; };
MA_API const ma_device_backend_vtable* MA_DEVICE_BACKEND_VTABLE_SDL = &ma_gDeviceBackendVTable_SDL; const ma_device_backend_vtable* MA_DEVICE_BACKEND_VTABLE_SDL = &ma_gDeviceBackendVTable_SDL;
#else #else
MA_API const ma_device_backend_vtable* MA_DEVICE_BACKEND_VTABLE_SDL = NULL; const ma_device_backend_vtable* MA_DEVICE_BACKEND_VTABLE_SDL = NULL;
#endif /* MA_HAS_SDL */ #endif /* MA_HAS_SDL */
+1 -1
View File
@@ -10,7 +10,7 @@ and device configs.
extern "C" { extern "C" {
#endif #endif
MA_API const ma_device_backend_vtable* MA_DEVICE_BACKEND_VTABLE_SDL; extern const ma_device_backend_vtable* MA_DEVICE_BACKEND_VTABLE_SDL;
typedef struct typedef struct