[cogl] Update to the latest version of the tesselator from GLU



commit c6b2429546d3ea0aa91caa47c7c90f932984ea33
Author: Neil Roberts <neil linux intel com>
Date:   Tue Feb 19 18:19:37 2013 +0000

    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 <robert linux intel com>

 cogl/tesselator/priorityq.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]