Fixed complete mixup of order of arguments passed to remap_frame_buffer().
Should fix #5186. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34846 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fb5c39cb6d
commit
3d9449fe75
@ -344,8 +344,8 @@ vesa_init(vesa_info& info)
|
|||||||
sharedInfo.frame_buffer_area = bufferInfo->area;
|
sharedInfo.frame_buffer_area = bufferInfo->area;
|
||||||
|
|
||||||
remap_frame_buffer(info, bufferInfo->physical_frame_buffer,
|
remap_frame_buffer(info, bufferInfo->physical_frame_buffer,
|
||||||
bufferInfo->width, bufferInfo->height, bufferInfo->bytes_per_row,
|
bufferInfo->width, bufferInfo->height, bufferInfo->depth,
|
||||||
bufferInfo->depth, true);
|
bufferInfo->bytes_per_row, true);
|
||||||
// Does not matter if this fails - the frame buffer was already mapped
|
// Does not matter if this fails - the frame buffer was already mapped
|
||||||
// before.
|
// before.
|
||||||
|
|
||||||
@ -415,8 +415,8 @@ vesa_set_display_mode(vesa_info& info, uint32 mode)
|
|||||||
|
|
||||||
// Map new frame buffer if necessary
|
// Map new frame buffer if necessary
|
||||||
|
|
||||||
status = remap_frame_buffer(info, modeInfo.width, modeInfo.height,
|
status = remap_frame_buffer(info, modeInfo.physical_base, modeInfo.width,
|
||||||
modeInfo.physical_base, modeInfo.bytes_per_row, modeInfo.bits_per_pixel,
|
modeInfo.height, modeInfo.bits_per_pixel, modeInfo.bytes_per_row,
|
||||||
false);
|
false);
|
||||||
if (status == B_OK) {
|
if (status == B_OK) {
|
||||||
// Update shared frame buffer information
|
// Update shared frame buffer information
|
||||||
|
Loading…
Reference in New Issue
Block a user