This commit is contained in:
Ryan Fleury
2026-06-09 16:02:32 -07:00
parent 220b288690
commit 2faa9211eb
@@ -181,7 +181,6 @@ r_ogl_os_window_unequip(WM_Window os, R_Handle r)
{
R_OGL_LNX_Window *w = (R_OGL_LNX_Window *)r.u64[0];
{
}
SLLStackPush(r_ogl_lnx_state->free_window, w);
}
@@ -189,7 +188,6 @@ r_ogl_os_window_unequip(WM_Window os, R_Handle r)
internal void
r_ogl_os_select_window(WM_Window os, R_Handle r)
{
// r is the outer R_OGL_Window* wrapper; the os-layer handle is .os
R_OGL_Window *outer = (R_OGL_Window *)r.u64[0];
R_OGL_LNX_Window *w_r = (R_OGL_LNX_Window *)outer->os.u64[0];
eglMakeCurrent(r_ogl_lnx_state->display, w_r->surface, w_r->surface, r_ogl_lnx_state->context);