aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_context.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2005-05-06 08:41:50 +0000
committerBen Skeggs <[email protected]>2005-05-06 08:41:50 +0000
commite133984f517f2273236ca8b22c2a94276c950c55 (patch)
treead5d5678e68cf405fd585d179e7a166f32db1a2f /src/mesa/drivers/dri/r300/r300_context.c
parentbd8162aaac225fdbdc228c4419d08fa3751b9af6 (diff)
Updated for EXT_framebuffer_object changes. I don't know if this is correct, but it seems to work
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c
index e4aa7ccb22a..3d5ec76b1ab 100644
--- a/src/mesa/drivers/dri/r300/r300_context.c
+++ b/src/mesa/drivers/dri/r300/r300_context.c
@@ -324,7 +324,7 @@ void r300DestroyContext(__DRIcontextPrivate * driContextPriv)
/* check if we're deleting the currently bound context */
if (&r300->radeon == current) {
radeonFlush(r300->radeon.glCtx);
- _mesa_make_current2(NULL, NULL, NULL);
+ _mesa_make_current(NULL, NULL, NULL);
}
/* Free r300 context resources */