summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2009-02-12 14:05:10 -0800
committerIan Romanick <ian.d.romanick@intel.com>2009-02-12 14:05:10 -0800
commitd1ad43a8bc3a93a9cddcb4b0be1d722993bf5dd6 (patch)
treed826caadf7221e390633ea2bbd1b9b70fae4a357 /glx
parent0065896e1ae6d419a42b318b66d6e4d5f17a40ca (diff)
Enable pbuffers
If a driver does not actually support pbuffer rendering, it can just not enable any pbuffer fbconfigs.
Diffstat (limited to 'glx')
-rw-r--r--glx/extension_string.c2
-rw-r--r--glx/glxscreens.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/glx/extension_string.c b/glx/extension_string.c
index a4b202af3..9d110cf98 100644
--- a/glx/extension_string.c
+++ b/glx/extension_string.c
@@ -80,7 +80,7 @@ static const struct extension_info known_glx_extensions[] = {
{ GLX(SGI_swap_control), VER(0,0), N, },
{ GLX(SGIS_multisample), VER(0,0), 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, },
{ NULL }
};
diff --git a/glx/glxscreens.c b/glx/glxscreens.c
index 2656355e5..87119fb5b 100644
--- a/glx/glxscreens.c
+++ b/glx/glxscreens.c
@@ -177,6 +177,7 @@ static char GLXServerExtensions[] =
"GLX_SGIX_swap_barrier "
#endif
"GLX_SGIX_fbconfig "
+ "GLX_SGIX_pbuffer "
"GLX_MESA_copy_sub_buffer "
;