<div dir="ltr">On 19 November 2013 22:22, Chris Forbes <span dir="ltr"><<a href="mailto:chrisf@ijw.co.nz" target="_blank">chrisf@ijw.co.nz</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">+   if (layer_count > 0) {<br>
+      fb->NumLayers = layer_count;<br>
<br>
</div>It seems like in the nonlayered case there will just be junk left in<br>
fb->NumLayers, which might trip people up in future?<br>
</blockquote></div><br></div><div class="gmail_extra">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.<br>
</div></div>