mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 20:40:09 +01:00
avoid using near and far as variable names since they are reserved words
in the windows compiler.
This commit is contained in:
parent
1b2976f79b
commit
20517ce040
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue