Hello,I don't know why when I retrive information on GL_ALPHA_BITS in qt 
programreturn 0.
GLint alpha_bits; glGetIntegerv(GL_ALPHA_BITS, & alpha_bits);
alpha_bits return 0 while in glut application return 8.

I tried to initialize QGLWidget with QGLFormat but does not work.
QGLFormat glFormat; glFormat.setAlpha(true); glFormat.setAlphaBufferSize(8); 
glFormat.setStencil(true); GLApp w(glFormat);
where class GLApp : public QGLWidget
Please help me.

 
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to