* Always use the double buffered implementation if running in VESA mode. It

was not used in case of 32 bit VESA modes. Gives a huge performance boost
  for 32 bit VESA mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24084 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2008-02-23 19:39:42 +00:00
parent 20e4f92cf5
commit f8cb1f478c
1 changed files with 2 additions and 1 deletions

View File

@ -576,8 +576,9 @@ AccelerantHWInterface::SetMode(const display_mode& mode)
// -> fall back to double buffer for fDisplayMode.space != B_RGB32
// as intermediate solution...
bool doubleBuffered = HWInterface::IsDoubleBuffered();
if ((color_space)fDisplayMode.space != B_RGB32
if (((color_space)fDisplayMode.space != B_RGB32
&& (color_space)fDisplayMode.space != B_RGBA32)
|| fVGADevice > 0)
doubleBuffered = true;
if (doubleBuffered) {