From ff9d235042bb80daf0a6f5af41f7abcb1d552a80 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 14 Sep 2005 00:36:27 +0000 Subject: Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function, call driUpdateFramebufferSize() when window size/position changes. --- src/mesa/drivers/dri/i810/i810state.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/mesa/drivers/dri/i810/i810state.c') diff --git a/src/mesa/drivers/dri/i810/i810state.c b/src/mesa/drivers/dri/i810/i810state.c index 4a811a0d03..a79c3a3e4d 100644 --- a/src/mesa/drivers/dri/i810/i810state.c +++ b/src/mesa/drivers/dri/i810/i810state.c @@ -3,10 +3,8 @@ #include #include "glheader.h" -#include "buffers.h" #include "context.h" #include "macros.h" -#include "enums.h" #include "dd.h" #include "colormac.h" @@ -690,8 +688,6 @@ static void i810Viewport( GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height ) { - /* update size of Mesa/software ancillary buffers */ - _mesa_ResizeBuffersMESA(); i810CalcViewport( ctx ); } -- cgit v1.2.3