diff options
Diffstat (limited to 'src/mesa/drivers/osmesa')
-rw-r--r-- | src/mesa/drivers/osmesa/osmesa.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 42de21641ac..1ca21486be6 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -1,4 +1,4 @@ -/* $Id: osmesa.c,v 1.64 2001/08/28 22:46:22 brianp Exp $ */ +/* $Id: osmesa.c,v 1.65 2001/08/28 23:12:37 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -553,6 +553,12 @@ void GLAPIENTRY OSMesaGetIntegerv( GLint pname, GLint *value ) case OSMESA_Y_UP: *value = ctx->yup; return; + case OSMESA_MAX_WIDTH: + *value = MAX_WIDTH; + return; + case OSMESA_MAX_HEIGHT: + *value = MAX_HEIGHT; + return; default: _mesa_error(&ctx->gl_ctx, GL_INVALID_ENUM, "OSMesaGetIntergerv(pname)"); return; |