Open achabense opened 3 months ago
Here is the background of this issue: I wanted to display a zoom window in nearest scale mode for a texture shown in linear mode. The problem was worked around by making a new texture with different scale mode, but I think the solution is wasteful.
Version/Branch of Dear ImGui:
Version 1.90.6
Back-ends:
imgui_impl_sdl2.cpp + imgui_impl_sdlrenderer2.cpp
Compiler, OS:
Windows 10 + MSVC 2022
Full config/build information:
No response
Details:
I want to display the same texture in different scale modes. The screenshot shows the effect of
test_fn
below. Can I achieve the same effect without creating multiple textures?Screenshots/Video:
Minimal, Complete and Verifiable Example code: