summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2007-04-08 14:02:14 +0200
committerMichel Dänzer <[email protected]>2007-04-08 14:02:14 +0200
commit79bf6924208136247bca2d5f70547f2fe359ecdb (patch)
treeababa2b7f8f48c91af355b99f1588a121b70886d /src/mesa
parentf72e7fb1d6bbec67f295988ac22087820dee21ce (diff)
driUpdateFramebufferSize: Use ctx->Driver.ResizeBuffers.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/common/drirenderbuffer.c2
1 files changed, 1 insertions, 1 deletions
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);
}