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

Reset screena *and* screenb, not jsut screena and screena

parent 889a05dc
Branches
Tags
No related merge requests found
Pipeline #7883 failed
......@@ -2207,7 +2207,7 @@ static int init_screens(int *width, int *height)
pthread_mutex_unlock(&screenlock);
return(-1);
}
screena.toprow = 0;
screenb.toprow = 0;
memset_u32(screena.rect->data, color_value(vstat.palette[0]), screena.rect->rect.width * screena.rect->rect.height);
memset_u32(screenb.rect->data, color_value(vstat.palette[0]), screenb.rect->rect.width * screenb.rect->rect.height);
pthread_mutex_unlock(&screenlock);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment