glx: Fix the default values for GLXFBConfig attributes
authorFredrik Höglund <fredrik@kde.org>
Thu, 13 Feb 2014 20:07:09 +0000 (21:07 +0100)
committerFredrik Höglund <fredrik@kde.org>
Wed, 26 Feb 2014 01:16:42 +0000 (02:16 +0100)
commitf41c2f6c332ae9b9784ac924b718963a1086cb85
treebf1493f6c066baaf41fd778feb2a01fcf0cd38c7
parent54df6a049110464c4ba2ad97b12b69ede927eca4
glx: Fix the default values for GLXFBConfig attributes

The default values for GLX_DRAWABLE_TYPE and GLX_RENDER_TYPE are
GLX_WINDOW_BIT and GLX_RGBA_BIT respectively, as specified in
the GLX 1.4 specification.

This fixes the glx-choosefbconfig-defaults piglit test.

Cc: "9.2 10.0 10.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/glxcmds.c