mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-11-30 13:18:22 +00:00
[client] app: allow selective full invalidation
Overlays only need to trigger a new frame if they have changed and not full window invalidation, this change allows for this.
This commit is contained in:
@@ -31,7 +31,7 @@ static bool showFPS;
|
||||
static void showFPSKeybind(int sc, void * opaque)
|
||||
{
|
||||
showFPS ^= true;
|
||||
app_invalidateWindow();
|
||||
app_invalidateWindow(false);
|
||||
}
|
||||
|
||||
static void fps_earlyInit(void)
|
||||
|
||||
@@ -65,7 +65,7 @@ static void configCallback(void * udata)
|
||||
static void showTimingKeybind(int sc, void * opaque)
|
||||
{
|
||||
gs.show ^= true;
|
||||
app_invalidateWindow();
|
||||
app_invalidateWindow(false);
|
||||
}
|
||||
|
||||
static bool graphs_init(void ** udata, const void * params)
|
||||
|
||||
Reference in New Issue
Block a user