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
If renderer is created with SDL_CreateRenderer(window, NULL) and SDL decides to use the new GPU API for it, the call to SDL_GetRendererName function will return gpu as the result for it, giving not much usefulness in terms of logging or debugging about which backend/graphics API is used behind the scenes. Maybe it would be worth adding it as property to renderer? Something like SDL_PROP_RENDERER_GPU_API_STRING
The text was updated successfully, but these errors were encountered:
That's one of solutions, at least I personally use it for mostly debugging and including in crash reports / logs, so that would be just enough. And I am not sure that renderer name is something that should be parsed programatically, so making it more human-readable like you suggested is fine, I guess?
If renderer is created with
SDL_CreateRenderer(window, NULL)
and SDL decides to use the new GPU API for it, the call toSDL_GetRendererName
function will returngpu
as the result for it, giving not much usefulness in terms of logging or debugging about which backend/graphics API is used behind the scenes. Maybe it would be worth adding it as property to renderer? Something likeSDL_PROP_RENDERER_GPU_API_STRING
The text was updated successfully, but these errors were encountered: