Enable pbuffers

If a driver does not actually support pbuffer rendering, it can just
not enable any pbuffer fbconfigs.
This commit is contained in:
Ian Romanick 2009-02-12 14:05:10 -08:00
parent 0065896e1a
commit d1ad43a8bc
2 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,7 @@ static const struct extension_info known_glx_extensions[] = {
{ GLX(SGI_swap_control), VER(0,0), N, }, { GLX(SGI_swap_control), VER(0,0), N, },
{ GLX(SGIS_multisample), VER(0,0), Y, }, { GLX(SGIS_multisample), VER(0,0), Y, },
{ GLX(SGIX_fbconfig), VER(1,3), Y, }, { GLX(SGIX_fbconfig), VER(1,3), Y, },
{ GLX(SGIX_pbuffer), VER(1,3), N, }, { GLX(SGIX_pbuffer), VER(1,3), Y, },
{ GLX(SGIX_visual_select_group), VER(0,0), Y, }, { GLX(SGIX_visual_select_group), VER(0,0), Y, },
{ NULL } { NULL }
}; };

View File

@ -177,6 +177,7 @@ static char GLXServerExtensions[] =
"GLX_SGIX_swap_barrier " "GLX_SGIX_swap_barrier "
#endif #endif
"GLX_SGIX_fbconfig " "GLX_SGIX_fbconfig "
"GLX_SGIX_pbuffer "
"GLX_MESA_copy_sub_buffer " "GLX_MESA_copy_sub_buffer "
; ;