[Cogl] [PATCH] Update to the latest version of the tesselator from GLU

Neil Roberts neil at linux.intel.com
Tue Feb 19 10:28:59 PST 2013


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
---
 cogl/tesselator/priorityq.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cogl/tesselator/priorityq.c b/cogl/tesselator/priorityq.c
index c6b99cc..db7cd59 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;
-- 
1.7.11.3.g3c3efa5



More information about the Cogl mailing list