summaryrefslogtreecommitdiffstats
path: root/src/mesa/math
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-08-25 15:59:48 +0000
committerBrian Paul <[email protected]>2004-08-25 15:59:48 +0000
commita6c423d95663cfd8601cf84e10e8e1b12fa6ef15 (patch)
treee4d68d47d99c2f747619829a488dd0b6ba5cf361 /src/mesa/math
parent866286936ac34070826382f1d1cd28b613dd4bd1 (diff)
Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch 1015696)
Diffstat (limited to 'src/mesa/math')
-rw-r--r--src/mesa/math/m_clip_tmp.h3
-rw-r--r--src/mesa/math/m_xform_tmp.h12
2 files changed, 11 insertions, 4 deletions
diff --git a/src/mesa/math/m_clip_tmp.h b/src/mesa/math/m_clip_tmp.h
index 6551798c318..de9056333b5 100644
--- a/src/mesa/math/m_clip_tmp.h
+++ b/src/mesa/math/m_clip_tmp.h
@@ -129,6 +129,7 @@ static GLvector4f * _XFORMAPI TAG(cliptest_np_points4)( GLvector4f *clip_vec,
GLubyte tmpAndMask = *andMask;
GLubyte tmpOrMask = *orMask;
GLuint i;
+ (void) proj_vec;
STRIDE_LOOP {
const GLfloat cx = from[0];
const GLfloat cy = from[1];
@@ -176,6 +177,7 @@ static GLvector4f * _XFORMAPI TAG(cliptest_points3)( GLvector4f *clip_vec,
const GLuint stride = clip_vec->stride;
const GLuint count = clip_vec->count;
const GLfloat *from = (GLfloat *)clip_vec->start;
+ (void) proj_vec;
GLubyte tmpOrMask = *orMask;
GLubyte tmpAndMask = *andMask;
@@ -209,6 +211,7 @@ static GLvector4f * _XFORMAPI TAG(cliptest_points2)( GLvector4f *clip_vec,
const GLuint stride = clip_vec->stride;
const GLuint count = clip_vec->count;
const GLfloat *from = (GLfloat *)clip_vec->start;
+ (void) proj_vec;
GLubyte tmpOrMask = *orMask;
GLubyte tmpAndMask = *andMask;
diff --git a/src/mesa/math/m_xform_tmp.h b/src/mesa/math/m_xform_tmp.h
index 7cf4780bd39..e9383772562 100644
--- a/src/mesa/math/m_xform_tmp.h
+++ b/src/mesa/math/m_xform_tmp.h
@@ -106,6 +106,7 @@ TAG(transform_points1_identity)( GLvector4f *to_vec,
GLuint count = from_vec->count;
GLfloat (*to)[4] = (GLfloat (*)[4])to_vec->start;
GLuint i;
+ (void) m;
if (to_vec == from_vec) return;
STRIDE_LOOP {
to[i][0] = from[0];
@@ -271,6 +272,7 @@ TAG(transform_points2_identity)( GLvector4f *to_vec,
GLfloat (*to)[4] = (GLfloat (*)[4])to_vec->start;
GLuint count = from_vec->count;
GLuint i;
+ (void) m;
if (to_vec == from_vec) return;
STRIDE_LOOP {
to[i][0] = from[0];
@@ -441,6 +443,7 @@ TAG(transform_points3_identity)( GLvector4f *to_vec,
GLfloat (*to)[4] = (GLfloat (*)[4])to_vec->start;
GLuint count = from_vec->count;
GLuint i;
+ (void) m;
if (to_vec == from_vec) return;
STRIDE_LOOP {
to[i][0] = from[0];
@@ -608,6 +611,7 @@ TAG(transform_points4_identity)( GLvector4f *to_vec,
GLfloat (*to)[4] = (GLfloat (*)[4])to_vec->start;
GLuint count = from_vec->count;
GLuint i;
+ (void) m;
if (to_vec == from_vec) return;
STRIDE_LOOP {
to[i][0] = from[0];
@@ -740,10 +744,10 @@ TAG(transform_points4_perspective)( GLvector4f *to_vec,
to_vec->count = from_vec->count;
}
-static transform_func _XFORMAPI TAG(transform_tab_1)[7];
-static transform_func _XFORMAPI TAG(transform_tab_2)[7];
-static transform_func _XFORMAPI TAG(transform_tab_3)[7];
-static transform_func _XFORMAPI TAG(transform_tab_4)[7];
+static transform_func TAG(transform_tab_1)[7];
+static transform_func TAG(transform_tab_2)[7];
+static transform_func TAG(transform_tab_3)[7];
+static transform_func TAG(transform_tab_4)[7];
/* Similar functions could be called several times, with more highly
* optimized routines overwriting the arrays. This only occurs during