Ignore:
Timestamp:
May 23, 2000, 10:41:28 PM (25 years ago)
Author:
jeroen
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/mesa/3dfx/fxsanity.c

    r2938 r3598  
    33/*
    44 * Mesa 3-D graphics library
    5  * Version:  3.1
     5 * Version:  3.3
    66 *
    77 * Copyright (C) 1999  Brian Paul   All Rights Reserved.
     
    6868
    6969   GLfloat area = ((v1->x - v3->x) * (v2->y - v3->y) -
    70                    (v1->y - v3->y) * (v2->x - v3->x));
     70                   (v1->y - v3->y) * (v2->x - v3->x));
    7171
    7272   if (v1->x < 0 || v1->y < 0 || v1->x > WID || v1->y > HI ||
    7373       v2->x < 0 || v2->y < 0 || v2->x > WID || v2->y > HI ||
    74        v3->x < 0 || v3->y < 0 || v3->x > WID || v3->y > HI) 
     74       v3->x < 0 || v3->y < 0 || v3->x > WID || v3->y > HI)
    7575   {
    7676      fprintf(stderr,"not clipped/set up!!!!!\n");
     
    9494   if (print) {
    9595      fprintf(stderr,"v1: %f %f %f %f col %.0f %.0f %.0f %.0f t0 %f %f %f t1 %f %f %f\n",
    96               v1->x, v1->y, v1->ooz, v1->oow,
    97               v1->r, v1->g, v1->b, v1->a,
    98               v1->tmuvtx[0].sow, v1->tmuvtx[0].tow, v1->tmuvtx[0].oow,
    99               v1->tmuvtx[1].sow, v1->tmuvtx[1].tow, v1->tmuvtx[1].oow);
     96              v1->x, v1->y, v1->ooz, v1->oow,
     97              v1->r, v1->g, v1->b, v1->a,
     98              v1->tmuvtx[0].sow, v1->tmuvtx[0].tow, v1->tmuvtx[0].oow,
     99              v1->tmuvtx[1].sow, v1->tmuvtx[1].tow, v1->tmuvtx[1].oow);
    100100      fprintf(stderr,"v2: %f %f %f %f col %.0f %.0f %.0f %.0f t0 %f %f %f t1 %f %f %f\n",
    101               v2->x, v2->y, v2->ooz, v2->oow,
    102               v2->r, v2->g, v2->b, v2->a,
    103               v2->tmuvtx[0].sow, v2->tmuvtx[0].tow, v2->tmuvtx[0].oow,
    104               v2->tmuvtx[1].sow, v2->tmuvtx[1].tow, v2->tmuvtx[1].oow);
     101              v2->x, v2->y, v2->ooz, v2->oow,
     102              v2->r, v2->g, v2->b, v2->a,
     103              v2->tmuvtx[0].sow, v2->tmuvtx[0].tow, v2->tmuvtx[0].oow,
     104              v2->tmuvtx[1].sow, v2->tmuvtx[1].tow, v2->tmuvtx[1].oow);
    105105      fprintf(stderr,"v3: %f %f %f %f col %.0f %.0f %.0f %.0f t0 %f %f %f t1 %f %f %f\n",
    106               v3->x, v3->y, v3->ooz, v3->oow,
    107               v3->r, v3->g, v3->b, v3->a,
    108               v3->tmuvtx[0].sow, v3->tmuvtx[0].tow, v3->tmuvtx[0].oow,
    109               v3->tmuvtx[1].sow, v3->tmuvtx[1].tow, v3->tmuvtx[1].oow);
     106              v3->x, v3->y, v3->ooz, v3->oow,
     107              v3->r, v3->g, v3->b, v3->a,
     108              v3->tmuvtx[0].sow, v3->tmuvtx[0].tow, v3->tmuvtx[0].oow,
     109              v3->tmuvtx[1].sow, v3->tmuvtx[1].tow, v3->tmuvtx[1].oow);
    110110   }
    111111
    112    if (1) 
     112   if (1)
    113113      FX_grDrawTriangle(v1,v2,v3);
    114    else 
     114   else
    115115      fprintf(stderr, "\n\n\n");
    116116}
    117117
     118#else
     119
     120void gl_fxsanity_dummy()
     121{
     122}
     123
    118124#endif
Note: See TracChangeset for help on using the changeset viewer.