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/mesa/swrast | |
parent | e4b40a7cf154eddc59f1b11821a7664b0b95e7cf (diff) |
s/_backface_sign/_BackfaceSign/
Diffstat (limited to 'src/mesa/swrast')
-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 |
5 files changed, 5 insertions, 5 deletions
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; |