Workaround window corruption on startup
This commit is contained in:
parent
5f03b05f46
commit
c3995aaa55
@ -345,6 +345,9 @@ void window_add (window_t * window) {
|
||||
z++;
|
||||
}
|
||||
window->z = z;
|
||||
|
||||
memset(window->buffer, 0x00, WIN_B * window->width * window->height);
|
||||
|
||||
windows[z] = window;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user