summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoridr <idr>2004-01-16 00:47:50 +0000
committeridr <idr>2004-01-16 00:47:50 +0000
commitba78e89b79bd746fb759245acbd3a624f7a3d1c1 (patch)
tree66dce52093ed02a583b42b752bf5cf9ad59148c8
parent64dc2d6b4a3c64d5056d9763bbd183ee5b39370b (diff)
Enable the multisampling extensions by default. If the client-side
driver doesn't support multisampling, then the DDX driver shouldn't export any multisample visuals / fbconfigs. Furthermore, the driver can disable multisampling by not enabling GL_{ARB,SGIS}_multisample. SGIX_visual_select_group is enabled be default since it has no impact on either the client-side driver or the application.
-rw-r--r--xc/lib/GL/glx/glxextensions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xc/lib/GL/glx/glxextensions.c b/xc/lib/GL/glx/glxextensions.c
index 458d2c421..19b6e66c8 100644
--- a/xc/lib/GL/glx/glxextensions.c
+++ b/xc/lib/GL/glx/glxextensions.c
@@ -65,7 +65,7 @@ static const struct {
*/
} known_glx_extensions[] = {
{ GLX(ARB_get_proc_address), VER(1,4), Y, N, Y, N },
- { GLX(ARB_multisample), VER(1,4), Y, N, N, N },
+ { GLX(ARB_multisample), VER(1,4), Y, Y, N, N },
{ GLX(ARB_render_texture), VER(0,0), N, N, N, N },
{ GLX(ATI_pixel_format_float), VER(0,0), N, N, N, N },
{ GLX(EXT_import_context), VER(0,0), Y, Y, N, N },
@@ -91,7 +91,7 @@ static const struct {
{ GLX(SGI_video_sync), VER(0,0), Y, N, N, Y },
{ GLX(SGIS_blended_overlay), VER(0,0), N, N, N, N },
{ GLX(SGIS_color_range), VER(0,0), N, N, N, N },
- { GLX(SGIS_multisample), VER(0,0), Y, N, N, N },
+ { GLX(SGIS_multisample), VER(0,0), Y, Y, N, N },
{ GLX(SGIX_dm_buffer), VER(0,0), N, N, N, N },
{ GLX(SGIX_fbconfig), VER(1,3), Y, N, N, N },
{ GLX(SGIX_pbuffer), VER(1,3), N, N, N, N },
@@ -99,7 +99,7 @@ static const struct {
{ GLX(SGIX_swap_group), VER(0,0), N, N, N, N },
{ GLX(SGIX_video_resize), VER(0,0), N, N, N, N },
{ GLX(SGIX_video_source), VER(0,0), N, N, N, N },
- { GLX(SGIX_visual_select_group), VER(0,0), Y, N, N, N },
+ { GLX(SGIX_visual_select_group), VER(0,0), Y, Y, N, N },
{ GLX(SUN_get_transparent_index), VER(0,0), N, N, N, N },
{ NULL }
};