Jos Hulzink writes:

>  As long as ggiDrawBox doesn't return before the accel is done, this
>  works. But this is not the case with PP buffers. Problem is that with :
>  
>  ggiSetGCForeground(vis, &my_color);
>  ggiDrawBox(vis, x, y, w, h);
>  ggiSetGCForeground(vis, &my_color);
>  
>  the second fg colour can be set before the DrawBox is executed. Someone
>  once wrote how to solve this, but I don't know where the text has gone...
 
I see the problem.  If GC changes could be put in the accel stream,
that's one way to solve it.  Otherwise I guess the only other thing is
to waitaccel() before anything that changes the GC -- potentially a
performance robber.

Cheers,
__
\/   Andrew Apted   <[EMAIL PROTECTED]>
 

Reply via email to