From: | Hans-Joerg Frieden |
Date: | 2 Apr 2000 at 21:31:41 |
Subject: | Re: Problem with Warp3D in a window |
On Sun, 2 Apr 2000, Denis 'Troll' TROLLER wrote:
> I'm new on this mailing-list and I have a question about Warp3D. I'm
> trying to make it work in a window, but I'm unable to allocate a valid
> CyberGraphics bitmap for Warp3D to draw into. I've tried a simple
> AllocBitmap() with my window bitmap as a friend BitMap but it doesn't
> seem to work.
>
> Could anoyone help ?
You have to specify BMF_DISPLAYABLE|BMF_MINPLANES as flags, otherwise
the bitmap will be allocated in system memory (still in friend format,
but not much help..)
Don't forget to use ClipBlit to copy, otherwise you might trash other
layers.
Regards. Hans-Joerg.