Skip to content

Commit 6786c9b

Browse files
author
maxdev1
committed
Fix
1 parent 1f13764 commit 6786c9b

File tree

1 file changed

+1
-1
lines changed
  • applications/windowserver/src/components

1 file changed

+1
-1
lines changed

applications/windowserver/src/components/canvas.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ void canvas_t::createNewBuffer(g_rectangle& bounds, int width, int height)
9898
uint32_t bufferSize = pages * G_PAGE_SIZE;
9999

100100
g_mutex_acquire(bufferLock);
101-
if(!buffer.localMapping || pages < buffer.pages)
101+
if(pages < buffer.pages)
102102
{
103103
g_mutex_release(bufferLock);
104104
return;

0 commit comments

Comments
 (0)