diff options
author | Brian Paul <[email protected]> | 2003-09-18 22:25:31 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-09-18 22:25:31 +0000 |
commit | 87f858dd7cbca2280c983c77a239013a187c3e9a (patch) | |
tree | 5ee94b093edcf29094098706d4a6ec66d632880b /src | |
parent | e4b40a7cf154eddc59f1b11821a7664b0b95e7cf (diff) |
s/_backface_sign/_BackfaceSign/
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dos/dmesa.c | 8 | ||||
-rw-r--r-- | src/mesa/swrast/s_aatritemp.h | 2 | ||||
-rw-r--r-- | src/mesa/swrast/s_context.c | 2 | ||||
-rw-r--r-- | src/mesa/swrast/s_context.h | 2 | ||||
-rw-r--r-- | src/mesa/swrast/s_triangle.c | 2 | ||||
-rw-r--r-- | src/mesa/swrast/s_tritemp.h | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/src/mesa/drivers/dos/dmesa.c b/src/mesa/drivers/dos/dmesa.c index 5d2cfb8b2bb..bfebb91396e 100644 --- a/src/mesa/drivers/dos/dmesa.c +++ b/src/mesa/drivers/dos/dmesa.c @@ -605,7 +605,7 @@ static void tri_rgb_flat (GLcontext *ctx, m2.win[0] = v2->win[0]; m2.win[1] = FLIP2(v2->win[1]); *(unsigned long *)m2.color = *(unsigned long *)v2->color; - mga_draw_tri_rgb_flat((int)SWRAST_CONTEXT(ctx)->_backface_sign, &m0, &m1, &m2); + mga_draw_tri_rgb_flat((int)SWRAST_CONTEXT(ctx)->_BackfaceSign, &m0, &m1, &m2); } #endif /* MATROX */ @@ -660,7 +660,7 @@ static void tri_rgb_flat_zless (GLcontext *ctx, m2.win[1] = FLIP2(v2->win[1]); m2.win[2] = v2->win[2]; *(unsigned long *)m2.color = *(unsigned long *)v2->color; - mga_draw_tri_rgb_flat_zless((int)SWRAST_CONTEXT(ctx)->_backface_sign, &m0, &m1, &m2); + mga_draw_tri_rgb_flat_zless((int)SWRAST_CONTEXT(ctx)->_BackfaceSign, &m0, &m1, &m2); } #endif /* MATROX */ @@ -710,7 +710,7 @@ static void tri_rgb_iter (GLcontext *ctx, *(unsigned long *)m0.color = *(unsigned long *)v0->color; *(unsigned long *)m1.color = *(unsigned long *)v1->color; *(unsigned long *)m2.color = *(unsigned long *)v2->color; - mga_draw_tri_rgb_iter((int)SWRAST_CONTEXT(ctx)->_backface_sign, &m0, &m1, &m2); + mga_draw_tri_rgb_iter((int)SWRAST_CONTEXT(ctx)->_BackfaceSign, &m0, &m1, &m2); } #endif /* MATROX */ @@ -770,7 +770,7 @@ static void tri_rgb_iter_zless (GLcontext *ctx, *(unsigned long *)m0.color = *(unsigned long *)v0->color; *(unsigned long *)m1.color = *(unsigned long *)v1->color; *(unsigned long *)m2.color = *(unsigned long *)v2->color; - mga_draw_tri_rgb_iter_zless((int)SWRAST_CONTEXT(ctx)->_backface_sign, &m0, &m1, &m2); + mga_draw_tri_rgb_iter_zless((int)SWRAST_CONTEXT(ctx)->_BackfaceSign, &m0, &m1, &m2); } #endif /* MATROX */ diff --git a/src/mesa/swrast/s_aatritemp.h b/src/mesa/swrast/s_aatritemp.h index ac7829ebfc6..2fb66faf72c 100644 --- a/src/mesa/swrast/s_aatritemp.h +++ b/src/mesa/swrast/s_aatritemp.h @@ -82,7 +82,7 @@ GLfloat texWidth[MAX_TEXTURE_COORD_UNITS]; GLfloat texHeight[MAX_TEXTURE_COORD_UNITS]; #endif - GLfloat bf = SWRAST_CONTEXT(ctx)->_backface_sign; + GLfloat bf = SWRAST_CONTEXT(ctx)->_BackfaceSign; INIT_SPAN(span, GL_POLYGON, 0, 0, SPAN_COVERAGE); diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index 6a25be68f5d..9e429aef857 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -135,7 +135,7 @@ _swrast_update_polygon( GLcontext *ctx ) backface_sign = 0; } - SWRAST_CONTEXT(ctx)->_backface_sign = backface_sign; + SWRAST_CONTEXT(ctx)->_BackfaceSign = backface_sign; } diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h index 30c2315ba06..c699078e166 100644 --- a/src/mesa/swrast/s_context.h +++ b/src/mesa/swrast/s_context.h @@ -274,7 +274,7 @@ typedef struct */ GLuint _RasterMask; GLfloat _MinMagThresh[MAX_TEXTURE_IMAGE_UNITS]; - GLfloat _backface_sign; + GLfloat _BackfaceSign; GLboolean _PreferPixelFog; GLboolean _AnyTextureCombine; diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index 86fe4dc1fdc..5af74ee3ab8 100644 --- a/src/mesa/swrast/s_triangle.c +++ b/src/mesa/swrast/s_triangle.c @@ -60,7 +60,7 @@ GLboolean _swrast_culltriangle( GLcontext *ctx, GLfloat fy = v2->win[1] - v0->win[1]; GLfloat c = ex*fy-ey*fx; - if (c * SWRAST_CONTEXT(ctx)->_backface_sign > 0) + if (c * SWRAST_CONTEXT(ctx)->_BackfaceSign > 0) return 0; return 1; diff --git a/src/mesa/swrast/s_tritemp.h b/src/mesa/swrast/s_tritemp.h index 7e8cad6f337..9180218b236 100644 --- a/src/mesa/swrast/s_tritemp.h +++ b/src/mesa/swrast/s_tritemp.h @@ -123,7 +123,7 @@ static void NAME(GLcontext *ctx, const SWvertex *v0, EdgeT eMaj, eTop, eBot; GLfloat oneOverArea; const SWvertex *vMin, *vMid, *vMax; /* Y(vMin)<=Y(vMid)<=Y(vMax) */ - float bf = SWRAST_CONTEXT(ctx)->_backface_sign; + GLfloat bf = SWRAST_CONTEXT(ctx)->_BackfaceSign; const GLint snapMask = ~((FIXED_ONE / (1 << SUB_PIXEL_BITS)) - 1); /* for x/y coord snapping */ GLfixed vMin_fx, vMin_fy, vMid_fx, vMid_fy, vMax_fx, vMax_fy; |