From a0af92fae97057b483a3e9bb7c024db8204dd7c6 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Tue, 19 Feb 2013 18:19:37 +0000 Subject: [PATCH] Update to the latest version of the tesselator from GLU Mesa's libGLU tesselator code has had a commit on it since it was copied into Cogl. It sounds like it fixes a potential crash so we should probably have it in Cogl too. http://cgit.freedesktop.org/mesa/glu/commit/?id=bfdf99d6ff64b9c2 Reviewed-by: Robert Bragg (cherry picked from commit c6b2429546d3ea0aa91caa47c7c90f932984ea33) --- cogl/tesselator/priorityq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cogl/tesselator/priorityq.c b/cogl/tesselator/priorityq.c index c6b99cce5..db7cd5951 100644 --- a/cogl/tesselator/priorityq.c +++ b/cogl/tesselator/priorityq.c @@ -65,6 +65,7 @@ PriorityQ *pqNewPriorityQ( int (*leq)(PQkey key1, PQkey key2) ) return NULL; } + pq->order = NULL; pq->size = 0; pq->max = INIT_SIZE; pq->initialized = FALSE;