Hello!

> Here is a simple program which produces clipping error with FX version of
> Mesa.

I've fixed the bug.
The culprit was the:
gl_clean_clip function.
1. gl_indentity_matrix not initalized by gl_init_vbxform.
2. We used:
   VB->ClipPtr = Transform(...)
  where Transform mapped to a
   void (trs*)(...);

 I've changed it to
  Transform( &VB->Clip,
              &gl_identity_mat,
             VB->ClipPtr,
             VB->ClipMask + VB->Start,
             VB->CullFlag[0]);
  VB->ClipPtr = &VB->Clip;

In stages.c clean_clip.

I've checked in both changes

Miklos.


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to