We lost one pixel there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12295 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -334,8 +334,8 @@ AccelerantHWInterface::SetMode(const display_mode &mode)
|
|||||||
// being. The color space conversion is handled in CopyBackToFront()
|
// being. The color space conversion is handled in CopyBackToFront()
|
||||||
|
|
||||||
delete fBackBuffer;
|
delete fBackBuffer;
|
||||||
fBackBuffer = new MallocBuffer(fDisplayMode.virtual_width - 1,
|
fBackBuffer = new MallocBuffer(fDisplayMode.virtual_width,
|
||||||
fDisplayMode.virtual_height - 1);
|
fDisplayMode.virtual_height);
|
||||||
|
|
||||||
status_t ret = fBackBuffer->InitCheck();
|
status_t ret = fBackBuffer->InitCheck();
|
||||||
if (ret < B_OK) {
|
if (ret < B_OK) {
|
||||||
|
|||||||
Reference in New Issue
Block a user