X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=meshqueue.c;h=a5510be722631f7b7d196e555dff081c8027ad1f;hb=d9823696930765de820e1e511bd220c71e4bdfed;hp=7d5a9c3aacf4d35ea80c0b1713604886d68a8b1e;hpb=0a094efd4075f5a4adf37b391e047b150c902b17;p=xonotic%2Fdarkplaces.git diff --git a/meshqueue.c b/meshqueue.c index 7d5a9c3a..a5510be7 100644 --- a/meshqueue.c +++ b/meshqueue.c @@ -61,7 +61,7 @@ void R_MeshQueue_RenderTransparent(void) const rtlight_t *rtlight; void (*callback)(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces, int *surfaceindices); meshqueue_t *mqt; - meshqueue_t *hash[4096], **hashpointer[4096]; + static meshqueue_t *hash[4096], **hashpointer[4096]; int batchsurfaceindex[256]; if (!mqt_count) return;