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
|
// complete redraw
|
||||||
#if RUN_WITH_FRAME_BUFFER
|
#if RUN_WITH_FRAME_BUFFER
|
||||||
// TODO: broken
|
// TODO: broken
|
||||||
BRegion region(Bounds());
|
BRegion region(fDrawingEngine->Bounds());
|
||||||
MarkDirty(®ion);
|
MarkDirty(®ion);
|
||||||
region = fBackgroundRegion;
|
region = fBackgroundRegion;
|
||||||
fBackgroundRegion.MakeEmpty();
|
fBackgroundRegion.MakeEmpty();
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stack.h>
|
#include <stack.h>
|
||||||
|
|
||||||
|
#include <Bitmap.h>
|
||||||
#include <Message.h>
|
#include <Message.h>
|
||||||
#include <Region.h>
|
#include <Region.h>
|
||||||
#include <Window.h>
|
#include <Window.h>
|
||||||
@@ -226,7 +227,7 @@ DrawView::DrawView(BRect frame)
|
|||||||
|
|
||||||
#if RUN_WITH_FRAME_BUFFER
|
#if RUN_WITH_FRAME_BUFFER
|
||||||
fFrameBuffer(new BBitmap(Bounds(), B_RGB32, true)),
|
fFrameBuffer(new BBitmap(Bounds(), B_RGB32, true)),
|
||||||
fDrawingEngine(new DrawingEngine(Bounds(), this)),
|
fDrawingEngine(new DrawingEngine(Bounds(), this))
|
||||||
#else
|
#else
|
||||||
fDrawingEngine(this)
|
fDrawingEngine(this)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user