projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba9a2bd
)
remove redundant call to ctx->Driver.Viewport(), and clean-ups
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 18 Mar 2004 18:17:33 +0000
(18:17 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 18 Mar 2004 18:17:33 +0000
(18:17 +0000)
src/mesa/main/matrix.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/matrix.c
b/src/mesa/main/matrix.c
index
8204c25
..
19e8dc3
100644
(file)
--- 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;