Unless a fragment shader is active (very rare), all the fragments emitted for a bitmap should have the same RGBA color. So the only two possible outcomes of applying the alpha test to glBitmap is either the bitmap is drawn normally (as if alpha test is disabled) or nothing is drawn at all. I think we could test for this and either no-op the glBitmap or draw the bitmap with the current code as-is.

What do you think?

-Brian

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to