ITADN

MultiContext option is ignore for wgl

#528OpenBikingGlobetrotter 创建于 2025-11-18
WGLglad2
Hi, I am using the mx option to generate a GladContext object that stores the functions pointers for and extensions capabilites per context. This is working well, e.g. for `GladContext myContext; if (myContext.KHR_debug) { ...} `. Unfortunately, this does not work for wglFunctions and extensions such as `GLAD_WGL_EXT_swap_control`. `GLAD_WGL_EXT_swap_control` stored as a global variable and there is no `GladWglContext` or similar. Is this indented? Since I also need to handle windows extension, I ended up creatin my own multi context wgl loader... Can this be improved?
1 条评论