Skip to content
Snippets Groups Projects
Commit bc3d9e44 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Move call to bitmap_drv_free_rect() out of vstatlock

parent ec8f6749
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4588 failed
......@@ -1291,8 +1291,8 @@ local_draw_rect(struct rectlist *rect)
// Scale...
pthread_mutex_lock(&vstatlock);
if (x_cvstat.winwidth != vstat.winwidth || x_cvstat.winheight != vstat.winheight) {
bitmap_drv_free_rect(rect);
pthread_mutex_unlock(&vstatlock);
bitmap_drv_free_rect(rect);
return;
}
bitmap_get_scaled_win_size(vstat.scaling, &w, &h, vstat.winwidth, vstat.winheight);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment