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:
Axel Dörfler
2006-02-02 20:08:16 +00:00
parent ce3f3b5af2
commit f7969f54fb
@@ -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;