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:
Axel Dörfler
2005-05-03 02:06:08 +00:00
parent 1a802114af
commit 895e2a0375
+1 -1
View File
@@ -485,7 +485,7 @@ fallback:
// clear the video memory
// ToDo: this shouldn't be necessary on real hardware (and Bochs), but
// 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 (vesa_set_palette((const uint8 *)kPalette, 0, 256) != B_OK)