On 2015-05-12 12:18, Matthew Woehlke wrote:
> I'm trying to use QGLWidget::drawTexture to draw a texture with an alpha
> channel, but it is not working; the areas that should be transparent are
> instead black, as if the alpha channel is missing in the GL texture.

Never mind... I had a shader being bound somewhere other than where I
thought, such that it was still bound when I was calling drawTexture.
The shader was nuking the texture alpha channel.

-- 
Matthew

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to