[client] overlay: add app_invalidateOverlay method

This commit is contained in:
Geoffrey McRae
2022-01-08 15:18:40 +11:00
parent ad6fa5a504
commit 0080e5f1b9
3 changed files with 15 additions and 4 deletions

View File

@@ -102,6 +102,12 @@ int app_renderOverlay(struct Rect * rects, int maxRects);
void app_freeOverlays(void);
/**
* invalidate the window to update the overlay, if renderTwice is set the imgui
* render code will run twice so that auto sized windows are calculated correctly
*/
void app_invalidateOverlay(bool renderTwice);
struct OverlayGraph;
typedef struct OverlayGraph * GraphHandle;