[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: double buffering ?

Quoting Ken Dunn (luser@xtra.co.nz):

> I want to use double buffering with SVGAlib, how do I do it,
> and what potential problems exist with it ?

Since noone actually answered your question, but started to advertice about
GGI, here's the solution:

char *backbuffer = new char[width*height*depth];

... and then you copy this backbuffer to the screen when done updating it.

Magnus Norddahl