forked from MoonsideGames/Refresh
move API defines to the top
parent
6302603b08
commit
435f56f6b7
|
@ -52,6 +52,20 @@
|
|||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
/* Version API */
|
||||
|
||||
#define REFRESH_MAJOR_VERSION 1
|
||||
#define REFRESH_MINOR_VERSION 0
|
||||
#define REFRESH_PATCH_VERSION 0
|
||||
|
||||
#define REFRESH_COMPILED_VERSION ( \
|
||||
(REFRESH_MAJOR_VERSION * 100 * 100) + \
|
||||
(REFRESH_MINOR_VERSION * 100) + \
|
||||
(REFRESH_PATCH_VERSION) \
|
||||
)
|
||||
|
||||
REFRESHAPI uint32_t Refresh_LinkedVersion(void);
|
||||
|
||||
/* Type Declarations */
|
||||
|
||||
typedef struct Refresh_Device Refresh_Device;
|
||||
|
@ -567,20 +581,6 @@ typedef struct Refresh_DepthStencilAttachmentInfo
|
|||
Refresh_StoreOp stencilStoreOp;
|
||||
} Refresh_DepthStencilAttachmentInfo;
|
||||
|
||||
/* Version API */
|
||||
|
||||
#define REFRESH_MAJOR_VERSION 1
|
||||
#define REFRESH_MINOR_VERSION 0
|
||||
#define REFRESH_PATCH_VERSION 0
|
||||
|
||||
#define REFRESH_COMPILED_VERSION ( \
|
||||
(REFRESH_MAJOR_VERSION * 100 * 100) + \
|
||||
(REFRESH_MINOR_VERSION * 100) + \
|
||||
(REFRESH_PATCH_VERSION) \
|
||||
)
|
||||
|
||||
REFRESHAPI uint32_t Refresh_LinkedVersion(void);
|
||||
|
||||
/* Functions */
|
||||
|
||||
/* Logging */
|
||||
|
|
Loading…
Reference in New Issue