Prep for PS5Driver

main
Caleb Cornett 2022-08-13 21:28:41 -04:00
parent 2fb9a6931b
commit f5b3e466a8
2 changed files with 15 additions and 3 deletions

View File

@ -34,7 +34,12 @@
/* Drivers */ /* Drivers */
static const Refresh_Driver *drivers[] = { static const Refresh_Driver *drivers[] = {
#ifdef REFRESH_DRIVER_VULKAN
&VulkanDriver, &VulkanDriver,
#endif
#ifdef REFRESH_DRIVER_PS5
&PS5Driver,
#endif
NULL NULL
}; };

View File

@ -36,9 +36,15 @@
/* Logging */ /* Logging */
extern void Refresh_LogInfo(const char *fmt, ...); #ifdef __cplusplus
extern void Refresh_LogWarn(const char *fmt, ...); extern "C" {
extern void Refresh_LogError(const char *fmt, ...); #endif
void Refresh_LogInfo(const char *fmt, ...);
void Refresh_LogWarn(const char *fmt, ...);
void Refresh_LogError(const char *fmt, ...);
#ifdef __cplusplus
}
#endif
/* Internal Helper Utilities */ /* Internal Helper Utilities */
@ -525,6 +531,7 @@ typedef struct Refresh_Driver
} Refresh_Driver; } Refresh_Driver;
extern Refresh_Driver VulkanDriver; extern Refresh_Driver VulkanDriver;
extern Refresh_Driver PS5Driver;
#endif /* REFRESH_DRIVER_H */ #endif /* REFRESH_DRIVER_H */