diff options
author | Brian Paul <[email protected]> | 2004-03-18 18:17:33 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-03-18 18:17:33 +0000 |
commit | dde10b7c12e805a1446e71c44d71a6c30078168e (patch) | |
tree | d0babd03bfd087f1c1bba371ac6b43f8f2272b9a /src/mesa/main | |
parent | ba9a2bd6415eb8b3ae360dfbf0e50839152100cc (diff) |
remove redundant call to ctx->Driver.Viewport(), and clean-ups
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/matrix.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mesa/main/matrix.c b/src/mesa/main/matrix.c index 8204c258a63..19e8dc3a5a0 100644 --- a/src/mesa/main/matrix.c +++ b/src/mesa/main/matrix.c @@ -597,15 +597,7 @@ _mesa_set_viewport( GLcontext *ctx, GLint x, GLint y, ctx->Viewport.Y = y; ctx->Viewport.Height = height; - /* Check if window/buffer has been resized and if so, reallocate the - * ancillary buffers. - */ -/* _mesa_ResizeBuffersMESA(); */ - - if (ctx->Driver.Viewport) { - (*ctx->Driver.Viewport)( ctx, x, y, width, height ); - } - + /* XXX send transposed width/height to Driver.Viewport() below??? */ if (ctx->_RotateMode) { GLint tmp, tmps; tmp = x; x = y; y = tmp; |