From 79bf6924208136247bca2d5f70547f2fe359ecdb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michel=20D=C3=A4nzer?= Date: Sun, 8 Apr 2007 14:02:14 +0200 Subject: [PATCH] driUpdateFramebufferSize: Use ctx->Driver.ResizeBuffers. --- src/mesa/drivers/dri/common/drirenderbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/common/drirenderbuffer.c b/src/mesa/drivers/dri/common/drirenderbuffer.c index 2e477815ba8..d36af3e5bee 100644 --- a/src/mesa/drivers/dri/common/drirenderbuffer.c +++ b/src/mesa/drivers/dri/common/drirenderbuffer.c @@ -208,7 +208,7 @@ driUpdateFramebufferSize(GLcontext *ctx, const __DRIdrawablePrivate *dPriv) { struct gl_framebuffer *fb = (struct gl_framebuffer *) dPriv->driverPrivate; if (fb && (dPriv->w != fb->Width || dPriv->h != fb->Height)) { - _mesa_resize_framebuffer(ctx, fb, dPriv->w, dPriv->h); + ctx->Driver.ResizeBuffers(ctx, fb, dPriv->w, dPriv->h); assert(fb->Width == dPriv->w); assert(fb->Height == dPriv->h); } -- 2.30.2