This function seems to be missing from RGFW OpenGL context manipulation functions.
RGFWDEF void RGFW_window_setContext_OpenGL(RGFW_window* win, RGFW_glContext* ctx);
It would be useful for migrating the active context previously set up by bootstrapping some code when setting up a rendering backend. The implementation would be like this.
void RGFW_window_setContext_OpenGL(RGFW_window* win, RGFW_glContext* ctx) {
win->src.ctx.native = ctx;
win->src.gfxType = RGFW_gfxNativeOpenGL;
}
This function seems to be missing from RGFW OpenGL context manipulation functions.
It would be useful for migrating the active context previously set up by bootstrapping some code when setting up a rendering backend. The implementation would be like this.