fixed compilation problem in fbdev code

This commit is contained in:
cebix 2002-04-28 12:09:23 +00:00
parent 72bb930435
commit 00a32a9afb

View File

@ -1103,7 +1103,7 @@ driver_fbdev::driver_fbdev(X11_monitor_desc &m) : driver_dga(m)
// Set frame buffer base
const_cast<video_mode *>(&mode)->bytes_per_row = bytes_per_row;
const_cast<video_mode *>(&mode)->depth = DepthModeForPixelDepth(fb_depth);
set_mac_frame_buffer(mode.depth, true);
set_mac_frame_buffer(monitor, mode.depth, true);
// Everything went well
init_ok = true;