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
This line in src/gpu/SDL_gpu.c's SDL_GPUSelectBackend() ...
SDL_LogError(SDL_LOG_CATEGORY_GPU, "No supported SDL_GPU backend found!");
...causes the console to pop up on all the examples, because we don't have WebGPU support yet (and when we do, there still may be browsers without it). Since we have a GPU renderer backend, we hit this even though the system falls back to the completely-usable opengles2 backend for 2D stuff.
I should be able to clear out all the logging in gpu.c tomorrow. What will take much longer are the backends; really we just need to make recoverable errors SetError and nonrecoverable errors either log or call an internal SDL_FatalGPUError helper to both log and SetError. Info/Warnings should be able to stay as they are unless I've forgotten any particularly bad ones.
This line in src/gpu/SDL_gpu.c's SDL_GPUSelectBackend() ...
...causes the console to pop up on all the examples, because we don't have WebGPU support yet (and when we do, there still may be browsers without it). Since we have a GPU renderer backend, we hit this even though the system falls back to the completely-usable opengles2 backend for 2D stuff.
You can see it here: https://examples.libsdl.org/SDL3/renderer/05-rectangles/
Can we remove this logging, or make it not log as an error?
The text was updated successfully, but these errors were encountered: