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

Robert Bragg robert at sixbynine.org
Wed Feb 20 06:41:06 PST 2013


This looks good to land to me:

Reviewed-by: Robert Bragg <robert at linux.intel.com>

thanks,
- Robert

On Tue, Feb 19, 2013 at 6:28 PM, Neil Roberts <neil at linux.intel.com> wrote:
> 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
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl


More information about the Cogl mailing list