summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2001-11-26 22:55:28 +0000
committerKarl Schultz <kschultz@freedesktop.org>2001-11-26 22:55:28 +0000
commit20517ce040bc9462129d286f084bfc5a50c587e4 (patch)
tree0633dbef73ef789c2f33e498dde60a0b28a07b74 /src
parent1b2976f79bd06c392a7d49d14a23637d30fbb8e6 (diff)
avoid using near and far as variable names since they are reserved words
in the windows compiler.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/glapi/glapitemp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h
index 76ec6cbf8f..f382b2afab 100644
--- a/src/mesa/glapi/glapitemp.h
+++ b/src/mesa/glapi/glapitemp.h
@@ -1487,9 +1487,9 @@ KEYWORD1 GLboolean KEYWORD2 NAME(IsList)(GLuint list)
RETURN_DISPATCH(IsList, (list), (F, "glIsList(%d);", list));
}
-KEYWORD1 void KEYWORD2 NAME(DepthRange)(GLclampd near, GLclampd far)
+KEYWORD1 void KEYWORD2 NAME(DepthRange)(GLclampd zNear, GLclampd zFar)
{
- DISPATCH(DepthRange, (near, far), (F, "glDepthRange(%f, %f);", near, far));
+ DISPATCH(DepthRange, (zNear, zFar), (F, "glDepthRange(%f, %f);", zNear, zFar));
}
KEYWORD1 void KEYWORD2 NAME(Frustum)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)