Skip to content

Commit

Permalink
fix GLFWwindow pointer conversion for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFrenik committed Jul 12, 2024
1 parent 4b19dc6 commit 25bcfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impl/gs_platform_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1851,7 +1851,7 @@ gs_platform_window_make_current(uint32_t hndl)
{
gs_platform_t* platform = gs_subsystem(platform);
gs_platform_window_t* win = gs_slot_array_getp(platform->windows, hndl);
glfwMakeContextCurrent(win);
glfwMakeContextCurrent((GLFWwindow*)win->hndl);
}

GS_API_DECL void
Expand Down

0 comments on commit 25bcfa3

Please sign in to comment.