forked from MoonsideGames/Refresh
Prep for PS5Driver (#19)
This PR contains the general changes needed for the PS5 driver (being developed separately, outside this repository). Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com> Reviewed-on: MoonsideGames/Refresh#19 Co-authored-by: TheSpydog <thespydog@noreply.example.org> Co-committed-by: TheSpydog <thespydog@noreply.example.org>anisotropy
parent
2fb9a6931b
commit
d4693a9093
|
@ -34,7 +34,12 @@
|
|||
/* Drivers */
|
||||
|
||||
static const Refresh_Driver *drivers[] = {
|
||||
#ifdef REFRESH_DRIVER_VULKAN
|
||||
&VulkanDriver,
|
||||
#endif
|
||||
#ifdef REFRESH_DRIVER_PS5
|
||||
&PS5Driver,
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
@ -36,9 +36,15 @@
|
|||
|
||||
/* Logging */
|
||||
|
||||
extern void Refresh_LogInfo(const char *fmt, ...);
|
||||
extern void Refresh_LogWarn(const char *fmt, ...);
|
||||
extern void Refresh_LogError(const char *fmt, ...);
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#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 */
|
||||
|
||||
|
@ -525,6 +531,7 @@ typedef struct Refresh_Driver
|
|||
} Refresh_Driver;
|
||||
|
||||
extern Refresh_Driver VulkanDriver;
|
||||
extern Refresh_Driver PS5Driver;
|
||||
|
||||
#endif /* REFRESH_DRIVER_H */
|
||||
|
||||
|
|
Loading…
Reference in New Issue