• Thomas Hellstrom's avatar
    glx: Fix glx-swap-exchange v3 · 689897cd
    Thomas Hellstrom authored
    Fix the following problems with this test:
    1) The spec is not referring to glXChooseVisual attributes, only to
    glXChooseFBConfig attributes. So use glXChooseFBConfig.
    2) Make sure we have an alpha channel.
    3) Call piglit_dispatch_default_init before issuing GL commands.
    - Test also alpha.
    - Test also frontbuffer.
    - Addressed review comments by Brian Paul.
    Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
glx-swap-exchange.c 3.93 KB