someodd, 8 months ago Okay, productivity set-back: I can't figure out how to get #haskell #sdl2 library working with #nix I usually get sdlExceptionError "Couldn't find matching render driver" or "Couldn't find matching GLX visual."
Okay, productivity set-back: I can't figure out how to get #haskell #sdl2 library working with #nix
I usually get sdlExceptionError "Couldn't find matching render driver" or "Couldn't find matching GLX visual."
someodd, 8 months ago I can try something like this: $ SDL_DEBUG=1 SDL_VIDEODRIVER=wayland nix run pkg-exe: SDLCallFailed {sdlExceptionCaller = "SDL.Video.createRenderer", sdlFunction = "SDL_CreateRenderer", sdlExceptionError = "Parameter 'window' is invalid"}
I can try something like this:
$ SDL_DEBUG=1 SDL_VIDEODRIVER=wayland nix run pkg-exe: SDLCallFailed {sdlExceptionCaller = "SDL.Video.createRenderer", sdlFunction = "SDL_CreateRenderer", sdlExceptionError = "Parameter 'window' is invalid"}
Add comment