Skip to content

Commit

Permalink
fix redefs
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Aug 10, 2024
1 parent 011f861 commit 1a27ab7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deps/RGFW.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,11 @@
#if !defined(b8) /* RGFW bool type */
typedef u8 b8;
typedef u32 b32;
#define RGFW_TRUE 1
#define RGFW_FALSE 0
#endif

#define RGFW_TRUE 1
#define RGFW_FALSE 0

/* thse OS macros looks better & are standardized */
/* plus it helps with cross-compiling */

Expand Down Expand Up @@ -6586,7 +6587,7 @@ RGFW_UNUSED(win); /*!< if buffer rendering is not being used */
}

static inline LARGE_INTEGER RGFW_win32_initTimer(void) {
static LARGE_INTEGER frequency = {0, 0};
static LARGE_INTEGER frequency = {{0, 0}};
if (frequency.QuadPart == 0) {
timeBeginPeriod(1);
QueryPerformanceFrequency(&frequency);
Expand Down

0 comments on commit 1a27ab7

Please sign in to comment.