Page 1 of 1

PostPosted: Tue Sep 04, 2001 1:02 am
by artosoft
Joe,

Did SetDepth() affect on all screen buffer? Or just affect on active screen buffer?

For example, I have screen buffer 0 (main buffer, screen buffer 1, screen buffer 2.
When I am in screen buffer 1 (SetDrawBuf(1)), what happend if I call SetDepth() to changing depth?

Thank you.

Best regards, Dian Suharto.

PostPosted: Tue Sep 04, 2001 1:36 am
by jstadolnik
I don't know. I haven't experimented with that functionality in quite some time.

Intuitively, I'd expect that you can change the depth without effecting the scratch buffers, provided that you don't draw in these scratch buffers. Drawing in them after the depth is changed will probably cause system errors or corrupt the buffer. Though if you set the depth back, you can probably access the buffer just fine.

The bottom line is that you'll have to do some experimenting to see what works and what doesn't.

Joe