Mask changes;
unsigned long changes;
PclValidateGC( pGC, changes, pDrawable )     GCPtr pGC;     Mask changes;     DrawablePtr pDrawable;{    XpContextPtr pCon;    PclContextPrivPtr pConPriv;    extern int mfbGCPrivateIndex;    extern int cfbGCPrivateIndex;        /*     * Pixmaps should be handled by their respective validation     * functions.     */    if( pDrawable->type == DRAWABLE_PIXMAP )      {	  if( pDrawable->depth == 1 )	    {		miRegisterGCPrivateIndex( mfbGCPrivateIndex );		mfbValidateGC( pGC, ~0, pDrawable );	    }	  else if( pDrawable->depth <= 8 )	    {		miRegisterGCPrivateIndex( cfbGCPrivateIndex );		cfbValidateGC( pGC, ~0, pDrawable );	    }	  else if( pDrawable->depth <= 32 )	    {		miRegisterGCPrivateIndex( cfbGCPrivateIndex );		cfb32ValidateGC( pGC, ~0, pDrawable );	    }	  return;      }    /*     * Reset the drawing operations     */    pGC->ops = &PclGCOps;        /*     * Validate the information, and correct it if necessary.     */    /*     * If necessary, compute the composite clip region.  (Code ripped     * from migc.c)     */    if ((changes & (GCClipXOrigin|GCClipYOrigin|GCClipMask|GCSubwindowMode)) ||	(pDrawable->serialNumber != (pGC->serialNumber & DRAWABLE_SERIAL_BITS))       )    {	PclComputeCompositeClip(pGC, pDrawable);    }    /*     * PCL does not directly support the DoubleDash line style, nor is     * there an easy way to simulate it, so we'll just change it to a     * LineOnOffDash, which is supported by PCL.     */    if( ( changes & GCLineStyle ) && ( pGC->lineStyle == LineDoubleDash ) )      pGC->lineStyle = LineOnOffDash;        /*     * Update the drawable's changeMask to reflect the changes made to the GC.     *//*    PclSetDrawablePrivateGC( pDrawable, *pGC, changes );*/}