mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-07-30 19:13:38 +00:00
[client] imgui: use improved high DPI rendering
This actually makes imgui render at a higher resolution, avoiding scaling and resulting blurriness.
This commit is contained in:
parent
b5c5ecc074
commit
5d053128ac
11 changed files with 122 additions and 18 deletions
|
@ -354,6 +354,10 @@ void opengl_on_resize(void * opaque, const int width, const int height, const do
|
|||
1.0f
|
||||
);
|
||||
}
|
||||
|
||||
// this is needed to refresh the font atlas texture
|
||||
ImGui_ImplOpenGL2_Shutdown();
|
||||
ImGui_ImplOpenGL2_NewFrame();
|
||||
}
|
||||
|
||||
bool opengl_on_mouse_shape(void * opaque, const LG_RendererCursor cursor,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue