File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2753,8 +2753,8 @@ typedef struct { i32 x, y; } RGFW_vector;
2753
2753
4 ,
2754
2754
& actualType ,
2755
2755
& actualFormat ,
2756
- & count ,
2757
- & bytesAfter ,
2756
+ ( unsigned long * ) & count ,
2757
+ ( unsigned long * ) & bytesAfter ,
2758
2758
(u8 * * ) & formats );
2759
2759
} else {
2760
2760
formats = (Atom * ) RGFW_MALLOC (E .xclient .data .l [2 ] + E .xclient .data .l [3 ] + E .xclient .data .l [4 ]);
@@ -3002,7 +3002,6 @@ typedef struct { i32 x, y; } RGFW_vector;
3002
3002
win -> src .winArgs &= ~RGFW_MOUSE_CHANGED ;
3003
3003
}
3004
3004
3005
- RGFW_vector mouse = RGFW_getGlobalMousePoint ();
3006
3005
if (win -> src .winArgs & RGFW_HOLD_MOUSE && win -> event .inFocus && win -> event .type == RGFW_mousePosChanged ) {
3007
3006
RGFW_window_moveMouse (win , RGFW_VECTOR (win -> r .x + (win -> r .w / 2 ), win -> r .y + (win -> r .h / 2 )));
3008
3007
@@ -6074,7 +6073,7 @@ static HMODULE wglinstance = NULL;
6074
6073
}
6075
6074
6076
6075
void RGFW_sleep (u32 ms ) {
6077
- #ifndef _MSC_VER
6076
+ #ifndef RGFW_WINDOWS
6078
6077
struct timespec time ;
6079
6078
time .tv_sec = 0 ;
6080
6079
time .tv_nsec = ms * 1000 ;
You can’t perform that action at this time.
0 commit comments