Joel Utting wrote:
>
> Hi, I'm trying to double buffer an application using a memory visual
> crossblitting to the GGI default display. It works fine under X, but
> segfaults under svgalib. I'm doing it as simple as I can see possible,
> so I can't see where a bug could be ?
> Is there a prefered way to do double buffering in GGI ?
The correct way to do double buffering is to use two frames and
swap between them. This is however not supported by all targets, so
sometimes you have to use something else. Crossblitting should not
segfault as long as the source and destination visuals are valid,
so you probably encountered a bug. The svgalib target has been largely
updated since beta2.1 though, so upgrading to a current snapshot may
help.
//Marcus
--
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan/
Royal Institute of Technology | Phone: +46 707 295404
Stockholm, Sweden | E-Mail: [EMAIL PROTECTED]