diff options
Diffstat (limited to 'src/mesa/drivers/windows/wmesaOld.c')
-rw-r--r-- | src/mesa/drivers/windows/wmesaOld.c | 5 |
1 files changed, 4 insertions, 1 deletions
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)){
|