diff options
author | Karl Schultz <[email protected]> | 2001-11-26 22:55:28 +0000 |
---|---|---|
committer | Karl Schultz <[email protected]> | 2001-11-26 22:55:28 +0000 |
commit | 20517ce040bc9462129d286f084bfc5a50c587e4 (patch) | |
tree | 0633dbef73ef789c2f33e498dde60a0b28a07b74 /src/mesa/glapi | |
parent | 1b2976f79bd06c392a7d49d14a23637d30fbb8e6 (diff) |
avoid using near and far as variable names since they are reserved words
in the windows compiler.
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r-- | src/mesa/glapi/glapitemp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h index 76ec6cbf8f2..f382b2afab9 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) |