mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 18:54:02 +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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user