diff options
author | Brian Paul <[email protected]> | 2001-03-03 20:33:27 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-03-03 20:33:27 +0000 |
commit | 08836341788a9f9d638d9dc8328510ccd18ddeb5 (patch) | |
tree | 6bd480b7f5f595c63914b1d39727d70a0f954723 /src/mesa/drivers/windows | |
parent | 19bbfc62638b60dd1a41e84686f24483adea5b03 (diff) |
lots of gl_*() to _mesa_*() namespace clean-up
Diffstat (limited to 'src/mesa/drivers/windows')
-rw-r--r-- | src/mesa/drivers/windows/wmesa.c | 4 | ||||
-rw-r--r-- | src/mesa/drivers/windows/wmesaBackup.c | 7 | ||||
-rw-r--r-- | src/mesa/drivers/windows/wmesaOld.c | 5 | ||||
-rw-r--r-- | src/mesa/drivers/windows/wmesa_stereo.c | 2 |
4 files changed, 12 insertions, 6 deletions
diff --git a/src/mesa/drivers/windows/wmesa.c b/src/mesa/drivers/windows/wmesa.c index 74fea18030e..ff256e266ed 100644 --- a/src/mesa/drivers/windows/wmesa.c +++ b/src/mesa/drivers/windows/wmesa.c @@ -1,4 +1,4 @@ -/* $Id: wmesa.c,v 1.13 2001/01/24 00:04:59 brianp Exp $ */ +/* $Id: wmesa.c,v 1.14 2001/03/03 20:33:29 brianp Exp $ */ /* * Windows (Win32) device driver for Mesa 3.4 @@ -1355,7 +1355,7 @@ void /*APIENTRY*/ WMesaMakeCurrent( WMesaContext c ) Current = c; if (Current->gl_ctx->Viewport.Width==0) { /* initialize viewport to window size */ - gl_Viewport( Current->gl_ctx, + _mesa_set_viewport( Current->gl_ctx, 0, 0, Current->width, Current->height ); } if ((c->cColorBits <= 8 ) && (c->rgb_flag == GL_TRUE)){ diff --git a/src/mesa/drivers/windows/wmesaBackup.c b/src/mesa/drivers/windows/wmesaBackup.c index baa57a4ee4f..33a7c40de94 100644 --- a/src/mesa/drivers/windows/wmesaBackup.c +++ b/src/mesa/drivers/windows/wmesaBackup.c @@ -1,4 +1,4 @@ -/* $Id: wmesaBackup.c,v 1.2 2000/11/05 18:41:00 keithw Exp $ */ +/* $Id: wmesaBackup.c,v 1.3 2001/03/03 20:33:29 brianp Exp $ */ /* * File name : wmesa.c @@ -22,6 +22,9 @@ /* * $Log: wmesaBackup.c,v $ + * Revision 1.3 2001/03/03 20:33:29 brianp + * lots of gl_*() to _mesa_*() namespace clean-up + * * Revision 1.2 2000/11/05 18:41:00 keithw * - Changes for new software rasterizer modules * - Remove support for choosing software fallbacks from core code @@ -1407,7 +1410,7 @@ void WMesaMakeCurrent( WMesaContext c ) Current = c; if (Current->gl_ctx->Viewport.Width==0) { /* initialize viewport to window size */ - gl_Viewport( Current->gl_ctx, + _mesa_set_viewport( Current->gl_ctx, 0, 0, Current->width, Current->height ); } if ((c->cColorBits <= 8 ) && (c->rgb_flag == GL_TRUE)){ diff --git a/src/mesa/drivers/windows/wmesaOld.c b/src/mesa/drivers/windows/wmesaOld.c index 801d5724e7e..a546676a5f9 100644 --- a/src/mesa/drivers/windows/wmesaOld.c +++ b/src/mesa/drivers/windows/wmesaOld.c @@ -20,6 +20,9 @@ /*
* $Log: wmesaOld.c,v $ + * Revision 1.3 2001/03/03 20:33:29 brianp + * lots of gl_*() to _mesa_*() namespace clean-up + * * Revision 1.2 2000/11/05 18:41:00 keithw * - Changes for new software rasterizer modules * - Remove support for choosing software fallbacks from core code @@ -1338,7 +1341,7 @@ void /*APIENTRY*/ WMesaMakeCurrent( WMesaContext c ) setup_DD_pointers(c->gl_ctx);
if (Current->gl_ctx->Viewport.Width==0) {
/* initialize viewport to window size */
- gl_Viewport( Current->gl_ctx,
+ _mesa_set_viewport( Current->gl_ctx,
0, 0, Current->width, Current->height );
}
if ((c->cColorBits <= 8 ) && (c->rgb_flag == GL_TRUE)){
diff --git a/src/mesa/drivers/windows/wmesa_stereo.c b/src/mesa/drivers/windows/wmesa_stereo.c index b0b6f811ddc..385f30b1b1f 100644 --- a/src/mesa/drivers/windows/wmesa_stereo.c +++ b/src/mesa/drivers/windows/wmesa_stereo.c @@ -1273,7 +1273,7 @@ void /*APIENTRY*/ WMesaMakeCurrent( WMesaContext c ) setup_DD_pointers(c->gl_ctx);
if (Current->gl_ctx->Viewport.Width==0) {
/* initialize viewport to window size */
- gl_Viewport( Current->gl_ctx,
+ _mesa_set_viewport( Current->gl_ctx,
0, 0, Current->width, Current->height );
}
}
|