BTW, do you know why that line in src/bgi/clrdev.c is commented out ?
void __gr_cleardevice(void) { _DO_INIT_CHECK; GrResetClipBox(); GrFilledBox( 0, 0+PY, getmaxx(), getmaxy()+PY, BLACK); __gr_Reset_ClipBox(); ==>/* GrClearScreen(__gr_colorbg); */ moveto( 0, 0); }
I don't know. Perhaps GrFilledBox do the work faster. Harmuth, are you there?
PY is used to simulate different graphic pages. The GrClearScreen() is a left over from the first GRX v1.x implentation. In GRX v2.0 all graphics screens would be cleared, not just the active one.
Delete that line
Hartmut