Skip to content

Commit 25bcfa3

Browse files
committed
fix GLFWwindow pointer conversion for linux
1 parent 4b19dc6 commit 25bcfa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impl/gs_platform_impl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1851,7 +1851,7 @@ gs_platform_window_make_current(uint32_t hndl)
18511851
{
18521852
gs_platform_t* platform = gs_subsystem(platform);
18531853
gs_platform_window_t* win = gs_slot_array_getp(platform->windows, hndl);
1854-
glfwMakeContextCurrent(win);
1854+
glfwMakeContextCurrent((GLFWwindow*)win->hndl);
18551855
}
18561856

18571857
GS_API_DECL void

0 commit comments

Comments
 (0)