diff options
author | Brian Paul <[email protected]> | 1999-11-11 01:28:16 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 1999-11-11 01:28:16 +0000 |
commit | cb5ecb883eb3be842ef44c61df8d4b527877c858 (patch) | |
tree | 8935c0a7456dff0101e4c809fac7ae49fa6570a5 /src | |
parent | fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5 (diff) |
initial changes for Mesa 3.3
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/osmesa/osmesa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 91da84565ed..a0bb746d007 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -1,8 +1,8 @@ -/* $Id: osmesa.c,v 1.2 1999/10/13 18:43:46 brianp Exp $ */ +/* $Id: osmesa.c,v 1.3 1999/11/11 01:28:41 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 3.1 + * Version: 3.3 * * Copyright (C) 1999 Brian Paul All Rights Reserved. * @@ -38,7 +38,7 @@ #include "GL/osmesa.h" #include "context.h" #include "depth.h" -#include "macros.h" +#include "mem.h" #include "matrix.h" #include "types.h" #include "vb.h" @@ -400,7 +400,7 @@ GLboolean GLAPIENTRY OSMesaMakeCurrent( OSMesaContext ctx, void *buffer, GLenum /* init viewport */ if (ctx->gl_ctx->Viewport.Width==0) { /* initialize viewport and scissor box to buffer size */ - gl_Viewport( ctx->gl_ctx, 0, 0, width, height ); + _mesa_Viewport( 0, 0, width, height ); ctx->gl_ctx->Scissor.Width = width; ctx->gl_ctx->Scissor.Height = height; } |