On 19 November 2013 22:22, Chris Forbes <chr...@ijw.co.nz> wrote:

> +   if (layer_count > 0) {
> +      fb->NumLayers = layer_count;
>
> It seems like in the nonlayered case there will just be junk left in
> fb->NumLayers, which might trip people up in future?
>

Yeah, that's a fair critique.  On further reflection, it seems silly to
have both NumLayers and Layered in gl_framebuffer.  I'll follow up with a
v2 patch that eliminates the Layered boolean, and stores 0 for NumLayers
when the framebuffer is unlayered.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to