Skip to content
  • Thomas Hellstrom's avatar
    glx: Fix glx-swap-exchange v3 · 689897cd
    Thomas Hellstrom authored and Brian Paul's avatar Brian Paul committed
    
    
    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.
    
    v2:
    - Test also alpha.
    - Test also frontbuffer.
    v3:
    - Addressed review comments by Brian Paul.
    
    Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
    689897cd