Now clears the frame buffer before setting the mode; at least when testing,
one sometimes could still see previous contents of the screen during boot up for some time. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23104 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -433,6 +433,9 @@ if (first) {
|
||||
return B_NO_MEMORY;
|
||||
}
|
||||
|
||||
// clear frame buffer before using it
|
||||
memset(sharedInfo.graphics_memory + offset, 0,
|
||||
bytesPerRow * target.virtual_height);
|
||||
sharedInfo.frame_buffer_offset = offset;
|
||||
|
||||
// make sure VGA display is disabled
|
||||
|
||||
Reference in New Issue
Block a user