QSurfaceFormat buffer sizes

  • I'm quite surprised that by default, the buffer sizes of a QSurfaceFormat are all -1.

    Why is that? How many bits should I assign to each buffer(red, green, blue, alpha, depth, stencil)?
    There should be definitely a hint in the documentation as I wasted 4 hours on finding out why the hell depth testing is not working...

    • TriNity

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.