mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Don't call window_update directly
This commit is contained in:
parent
97e5802c1d
commit
29294f0096
@ -291,7 +291,9 @@ static void monitor_sdl_clean_up(void)
|
|||||||
void monitor_backlight(uint8_t level)
|
void monitor_backlight(uint8_t level)
|
||||||
{
|
{
|
||||||
SDL_SetTextureColorMod(monitor.texture, level, level, level);
|
SDL_SetTextureColorMod(monitor.texture, level, level, level);
|
||||||
window_update(&monitor);
|
// window_update(&monitor);
|
||||||
|
monitor.sdl_refr_qry = true;
|
||||||
|
monitor_sdl_refr_core();
|
||||||
}
|
}
|
||||||
|
|
||||||
void monitor_title(const char* title)
|
void monitor_title(const char* title)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user