diff options
author | Brian Paul <[email protected]> | 2000-01-17 18:05:24 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-01-17 18:05:24 +0000 |
commit | 3db088f7d792021c8ed628a776355fc315a479a9 (patch) | |
tree | 410195aefbbae548e34d21b86481f972ec154efe /src | |
parent | 3be135f0000515f677c3ca927034caa2fc669e2e (diff) |
added missing POINT/LINE RANGE/GRANULARITY tokens
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/get.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 684537adf53..ed7740becda 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1,10 +1,10 @@ -/* $Id: get.c,v 1.7 1999/12/10 20:01:06 brianp Exp $ */ +/* $Id: get.c,v 1.8 2000/01/17 18:05:46 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 * - * Copyright (C) 1999 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -388,6 +388,7 @@ _mesa_GetBooleanv( GLenum pname, GLboolean *params ) *params = FLOAT_TO_BOOL(LINE_WIDTH_GRANULARITY); break; case GL_LINE_WIDTH_RANGE: + case GL_ALIASED_LINE_WIDTH_RANGE: params[0] = FLOAT_TO_BOOL(MIN_LINE_WIDTH); params[1] = FLOAT_TO_BOOL(MAX_LINE_WIDTH); break; @@ -615,6 +616,7 @@ _mesa_GetBooleanv( GLenum pname, GLboolean *params ) *params = FLOAT_TO_BOOL(POINT_SIZE_GRANULARITY ); break; case GL_POINT_SIZE_RANGE: + case GL_ALIASED_POINT_SIZE_RANGE: params[0] = FLOAT_TO_BOOL(MIN_POINT_SIZE ); params[1] = FLOAT_TO_BOOL(MAX_POINT_SIZE ); break; @@ -1338,6 +1340,7 @@ _mesa_GetDoublev( GLenum pname, GLdouble *params ) *params = (GLdouble) LINE_WIDTH_GRANULARITY; break; case GL_LINE_WIDTH_RANGE: + case GL_ALIASED_LINE_WIDTH_RANGE: params[0] = (GLdouble) MIN_LINE_WIDTH; params[1] = (GLdouble) MAX_LINE_WIDTH; break; @@ -1565,6 +1568,7 @@ _mesa_GetDoublev( GLenum pname, GLdouble *params ) *params = (GLdouble) POINT_SIZE_GRANULARITY; break; case GL_POINT_SIZE_RANGE: + case GL_ALIASED_POINT_SIZE_RANGE: params[0] = (GLdouble) MIN_POINT_SIZE; params[1] = (GLdouble) MAX_POINT_SIZE; break; @@ -2285,6 +2289,7 @@ _mesa_GetFloatv( GLenum pname, GLfloat *params ) *params = (GLfloat) LINE_WIDTH_GRANULARITY; break; case GL_LINE_WIDTH_RANGE: + case GL_ALIASED_LINE_WIDTH_RANGE: params[0] = (GLfloat) MIN_LINE_WIDTH; params[1] = (GLfloat) MAX_LINE_WIDTH; break; @@ -2512,6 +2517,7 @@ _mesa_GetFloatv( GLenum pname, GLfloat *params ) *params = (GLfloat) POINT_SIZE_GRANULARITY; break; case GL_POINT_SIZE_RANGE: + case GL_ALIASED_POINT_SIZE_RANGE: params[0] = (GLfloat) MIN_POINT_SIZE; params[1] = (GLfloat) MAX_POINT_SIZE; break; @@ -3214,6 +3220,7 @@ _mesa_GetIntegerv( GLenum pname, GLint *params ) *params = (GLint) LINE_WIDTH_GRANULARITY; break; case GL_LINE_WIDTH_RANGE: + case GL_ALIASED_LINE_WIDTH_RANGE: params[0] = (GLint) MIN_LINE_WIDTH; params[1] = (GLint) MAX_LINE_WIDTH; break; @@ -3441,6 +3448,7 @@ _mesa_GetIntegerv( GLenum pname, GLint *params ) *params = (GLint) POINT_SIZE_GRANULARITY; break; case GL_POINT_SIZE_RANGE: + case GL_ALIASED_POINT_SIZE_RANGE: params[0] = (GLint) MIN_POINT_SIZE; params[1] = (GLint) MAX_POINT_SIZE; break; |