Re: [PATCH]: gl: Setup operands when the vertex size changes

Martin Robinson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On 02/27/2013 04:04 PM, Martin Robinson wrote:
> From 8140b8b06e50595abbad87f6fa82daf4bf4b76ce Mon Sep 17 00:00:00 2001
> From: Martin Robinson <[email protected]>
> Date: Wed, 27 Feb 2013 15:40:16 -0800
> Subject: [PATCH] gl: Setup operands when the vertex size changes
> 
> Previously _cairo_gl_composite_setup_vbo was overwriting the old context
> vertex_size, while _cairo_gl_context_setup_operand was relying on it to
> determine if the vertex size changed. Instead of a fragile ordering of
> statements, pass whether the vertex size changed as an argument to enforce
> the calling order via method parameters.

No complaints, so I'll land this one. I don't think this bug causes any
failures in master, but it does in the CairoGLES fork. It's definitely
an issue either way.

--Martin

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.