You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to statically compile GLFW and allow for a software rendering fallback. SDL provides SDL_CreateSoftwareRenderer, which works great. Now, I'm trying to do similar with GLFW.
As I understand GLFW's use of OSMesa allows to use Mesa to render Offscreen and then push that buffer to the GLFW Window.
Can GLFW be statically compiled to take OSMesa in?
MSYS2 provides a win32 wrapper for dlfcn, which is how I compiled GLFW in the first place. Using glfwWindowHint(GLFW_CONTEXT_CREATION_API , GLFW_OSMESA_CONTEXT_API); It doesn't seem to detect the provided osmesa.dll and errors out with OSMesa: Library not found (As I understand it, it shouldn't, as dlfcn wasn't made to work with .dlls in the first place). So am I using GLFW wrong here?
The text was updated successfully, but these errors were encountered:
I'm trying to statically compile GLFW and allow for a software rendering fallback. SDL provides SDL_CreateSoftwareRenderer, which works great. Now, I'm trying to do similar with GLFW.
As I understand GLFW's use of OSMesa allows to use Mesa to render Offscreen and then push that buffer to the GLFW Window.
Can GLFW be statically compiled to take OSMesa in?
MSYS2 provides a win32 wrapper for dlfcn, which is how I compiled GLFW in the first place. Using
glfwWindowHint(GLFW_CONTEXT_CREATION_API , GLFW_OSMESA_CONTEXT_API);
It doesn't seem to detect the provided osmesa.dll and errors out withOSMesa: Library not found
(As I understand it, it shouldn't, as dlfcn wasn't made to work with .dlls in the first place). So am I using GLFW wrong here?The text was updated successfully, but these errors were encountered: