fixed build of frame buffer version
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15133 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -109,7 +109,7 @@ Desktop::MouseDown(BPoint where, uint32 buttons)
|
||||
// complete redraw
|
||||
#if RUN_WITH_FRAME_BUFFER
|
||||
// TODO: broken
|
||||
BRegion region(Bounds());
|
||||
BRegion region(fDrawingEngine->Bounds());
|
||||
MarkDirty(®ion);
|
||||
region = fBackgroundRegion;
|
||||
fBackgroundRegion.MakeEmpty();
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stack.h>
|
||||
|
||||
#include <Bitmap.h>
|
||||
#include <Message.h>
|
||||
#include <Region.h>
|
||||
#include <Window.h>
|
||||
@@ -226,7 +227,7 @@ DrawView::DrawView(BRect frame)
|
||||
|
||||
#if RUN_WITH_FRAME_BUFFER
|
||||
fFrameBuffer(new BBitmap(Bounds(), B_RGB32, true)),
|
||||
fDrawingEngine(new DrawingEngine(Bounds(), this)),
|
||||
fDrawingEngine(new DrawingEngine(Bounds(), this))
|
||||
#else
|
||||
fDrawingEngine(this)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user