1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

Replacing NULL with nullptr in examples/backends when they creeped back. (#6313, #7071, #4537)

This commit is contained in:
ocornut 2024-12-05 12:25:02 +01:00
parent 6f6ac84228
commit 566558b17c
14 changed files with 35 additions and 35 deletions

View file

@ -227,7 +227,7 @@ void ImGui_ImplSDLRenderer3_RenderDrawData(ImDrawData* draw_data, SDL_Renderer*
}
}
}
platform_io.Renderer_RenderState = NULL;
platform_io.Renderer_RenderState = nullptr;
// Restore modified SDL_Renderer state
SDL_SetRenderViewport(renderer, old.ViewportEnabled ? &old.Viewport : nullptr);