Reenabled the Qemu workaround: the frame buffer is now cleared after a mode change.
After all, there might be real graphics card which behave the same?? git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12551 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -485,7 +485,7 @@ fallback:
|
|||||||
// clear the video memory
|
// clear the video memory
|
||||||
// ToDo: this shouldn't be necessary on real hardware (and Bochs), but
|
// ToDo: this shouldn't be necessary on real hardware (and Bochs), but
|
||||||
// at least booting with Qemu looks ugly when this is missing
|
// at least booting with Qemu looks ugly when this is missing
|
||||||
//memset((void *)sFrameBuffer, 0, gKernelArgs.frame_buffer.physical_buffer.size);
|
memset((void *)sFrameBuffer, 0, gKernelArgs.frame_buffer.physical_buffer.size);
|
||||||
|
|
||||||
if (sMode != NULL) {
|
if (sMode != NULL) {
|
||||||
if (vesa_set_palette((const uint8 *)kPalette, 0, 256) != B_OK)
|
if (vesa_set_palette((const uint8 *)kPalette, 0, 256) != B_OK)
|
||||||
|
|||||||
Reference in New Issue
Block a user