Fixed build in the test environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16210 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -366,7 +366,7 @@ AccelerantHWInterface::SetMode(const display_mode &mode)
|
||||
return B_ERROR;
|
||||
|
||||
// Update the frame buffer used by the on-screen KDL
|
||||
#ifdef __HAIKU__
|
||||
#ifndef HAIKU_TARGET_PLATFORM_LIBBE_TEST
|
||||
uint32 depth = (fFrameBufferConfig.bytes_per_row / fDisplayMode.virtual_width) << 3;
|
||||
if (fDisplayMode.space == B_RGB15)
|
||||
depth = 15;
|
||||
|
||||
Reference in New Issue
Block a user