]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - menu.c
Add a Quake Live-style mouse acceleration mode.
[xonotic/darkplaces.git] / menu.c
diff --git a/menu.c b/menu.c
index 77218e4b4b8349bed1b96230c12862734a004f2f..6092254778caf4b391aae2a353af076c5a7820c6 100644 (file)
--- a/menu.c
+++ b/menu.c
@@ -5306,6 +5306,9 @@ static void MP_Draw (void)
        // TODO: this needs to be exposed to R_SetView (or something similar) ASAP [2/5/2008 Andreas]
        r_refdef.scene.time = realtime;
 
+       // free memory for resources that are no longer referenced
+       PRVM_GarbageCollection(prog);
+
        // FIXME: this really shouldnt error out lest we have a very broken refdef state...?
        // or does it kill the server too?
        PRVM_G_FLOAT(OFS_PARM0) = vid.width;