mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 21:20:21 +01:00
Call _mesa_ResizeBuffersMESA() in r200Viewport(), fixes incorrect rendering
in bzflag 2.0. (Alexander E. Patrakov)
This commit is contained in:
parent
8e5f0e62dd
commit
3dec3c7a74
1 changed files with 3 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include "enums.h"
|
||||
#include "colormac.h"
|
||||
#include "light.h"
|
||||
#include "buffers.h"
|
||||
|
||||
#include "swrast/swrast.h"
|
||||
#include "array_cache/acache.h"
|
||||
|
|
@ -1631,6 +1632,8 @@ void r200UpdateWindow( GLcontext *ctx )
|
|||
static void r200Viewport( GLcontext *ctx, GLint x, GLint y,
|
||||
GLsizei width, GLsizei height )
|
||||
{
|
||||
/* update size of Mesa/software ancillary buffers */
|
||||
_mesa_ResizeBuffersMESA();
|
||||
/* Don't pipeline viewport changes, conflict with window offset
|
||||
* setting below. Could apply deltas to rescue pipelined viewport
|
||||
* values, or keep the originals hanging around.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue