Hi Brian Please revert, this code does not work any more on 32bpp.
It seems that I haven't understood what the depthBits field is... My goal is to make it work on x11 when color depth is 24 and bits_per_pixel is 24 (not 32). How can I find which mode is used? Best regards Marc _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev