forked from MoonsideGames/Refresh
Prep for PS5Driver
parent
2fb9a6931b
commit
f5b3e466a8
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue