Skip to content
  • Adam Jackson's avatar
    glx: Generate fewer errors in MakeContextCurrent · e166a58c
    Adam Jackson authored
    
    
    For a few reasons.
    
    1: In the (current) common case, these conditionals are never true. All
    we're doing by checking them is slowing down MakeCurrent.  The server
    does these checks already anyway.
    
    2: GLX >= 3.0 contexts may legally be made current without a bound
    framebuffer.
    
    This does not fix piglit/glx-create-context-current-no-framebuffer, but
    is a prerequisite for fixing it.
    
    Cc: "9.1 9.2" <mesa-stable@lists.freedesktop.org>
    Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
    Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
    e166a58c