mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 10:44:01 +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:
@@ -23,6 +23,15 @@
|
||||
|
||||
#include "common/types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void overlayGetImGuiRect(struct Rect * rect);
|
||||
void imGuiResetStyle(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@@ -46,4 +46,7 @@ static inline double util_clamp(double x, double min, double max)
|
||||
return x;
|
||||
}
|
||||
|
||||
#define DEFAULT_FONT_NAME "DejaVu Sans Mono"
|
||||
char * util_getUIFont(const char * fontName);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user