Removed unnecessary methods in ServerScreen and DisplayDriver
Bugfixes - cursor now works under new DisplayDriver cursor management Currently still searching for a clipping bug in ViewDriver::CopyToBitmap git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6563 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -97,10 +97,9 @@ void BitmapDriver::SetTarget(ServerBitmap *target)
|
||||
|
||||
if(target)
|
||||
{
|
||||
_buffer_depth=target->Width();
|
||||
_buffer_height=target->Height();
|
||||
_buffer_depth=target->BitsPerPixel();
|
||||
_bytes_per_row=target->BytesPerRow();
|
||||
_displaymode.virtual_width=target->Width();
|
||||
_displaymode.virtual_height=target->Height();
|
||||
_displaymode.space=target->ColorSpace();
|
||||
// Setting mode not necessary. Can get color space stuff via ServerBitmap->ColorSpace
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user