Skip to content

Commit

Permalink
fix macro logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Oct 1, 2024
1 parent fc6f1bd commit 528baed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RGFW.h
Original file line number Diff line number Diff line change
Expand Up @@ -2084,7 +2084,7 @@ void RGFW_updateLockState(RGFW_window* win, b8 capital, b8 numlock) {

#ifdef RGFW_WINDOWS
win->src.EGL_display = eglGetDisplay((EGLNativeDisplayType) win->src.hdc);
#ifdef RGFW_MACOS
#elif defined(RGFW_MACOS)
win->src.EGL_display = eglGetDisplay((EGLNativeDisplayType)0);
#else
win->src.EGL_display = eglGetDisplay((EGLNativeDisplayType) win->src.display);
Expand Down

0 comments on commit 528baed

Please sign in to comment.