+   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?
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to