]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rsurf.c
got rid of Hunk_Alloc, all allocations now have a proper name (perhaps a bit too...
[xonotic/darkplaces.git] / gl_rsurf.c
index 4377edc717e039979a0205f839d5510e5d554ccf..753f5db276b7a6deadd8a0c8e87465d53c2ecca7 100644 (file)
@@ -1142,7 +1142,7 @@ void BuildSurfaceDisplayList (msurface_t *fa)
        //
        // draw texture
        //
-       poly = Hunk_Alloc (sizeof(glpoly_t) + (lnumverts-4) * VERTEXSIZE*sizeof(float));
+       poly = Hunk_AllocName (sizeof(glpoly_t) + (lnumverts-4) * VERTEXSIZE*sizeof(float), "surfaces");
        poly->next = fa->polys;
        poly->flags = fa->flags;
        fa->polys = poly;