Backends: SDLRenderer3: Amend/finish SDL_Renderer3 patch + add example. (#6286)

This commit is contained in:
ocornut
2023-05-30 20:36:07 +02:00
parent 0b57c07c79
commit b476184574
11 changed files with 558 additions and 51 deletions

View File

@ -3,8 +3,7 @@
// If you are new to Dear ImGui, read documentation from the docs/ folder + read the top of imgui.cpp.
// Read online: https://github.com/ocornut/imgui/tree/master/docs
// Important to understand: SDL_Renderer is an _optional_ component of SDL. We do not recommend you use SDL_Renderer
// because it provides a rather limited API to the end-user. We provide this backend for the sake of completeness.
// Important to understand: SDL_Renderer is an _optional_ component of SDL2.
// For a multi-platform app consider using e.g. SDL+DirectX on Windows and SDL+OpenGL on Linux/OSX.
#include "imgui.h"