X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglx%2Fglxextensions.c;h=7b00a9e338da40a89e000de2f041b5e22e159994;hb=f93533d118b6dab00022cc9bc1448615a25946dc;hp=9ddc39d98ca77ddd254cdd2fbf5b023d2305d93c;hpb=a8724d85f8cb2f0fb73b9c6c1f268f9084c6d473;p=mesa.git diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c index 9ddc39d98ca..7b00a9e338d 100644 --- a/src/glx/glxextensions.c +++ b/src/glx/glxextensions.c @@ -71,27 +71,20 @@ struct extension_info /* *INDENT-OFF* */ static const struct extension_info known_glx_extensions[] = { -#ifdef HAVE_XCB_GLX_CREATE_CONTEXT { GLX(ARB_create_context), VER(0,0), Y, N, N, N }, { GLX(ARB_create_context_profile), VER(0,0), Y, N, N, N }, { GLX(ARB_create_context_robustness), VER(0,0), Y, N, N, N }, -#else - { GLX(ARB_create_context), VER(0,0), N, N, N, N }, - { GLX(ARB_create_context_profile), VER(0,0), N, N, N, N }, - { GLX(ARB_create_context_robustness), VER(0,0), N, N, N, N }, -#endif + { GLX(ARB_fbconfig_float), VER(0,0), Y, Y, N, N }, + { GLX(ARB_framebuffer_sRGB), VER(0,0), Y, Y, N, N }, { GLX(ARB_get_proc_address), VER(1,4), Y, N, Y, N }, { GLX(ARB_multisample), VER(1,4), Y, Y, 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 }, { GLX(EXT_visual_info), VER(0,0), Y, Y, N, N }, { GLX(EXT_visual_rating), VER(0,0), Y, Y, N, N }, + { GLX(EXT_fbconfig_packed_float), VER(0,0), Y, Y, N, N }, { GLX(EXT_framebuffer_sRGB), VER(0,0), Y, Y, N, N }, -#ifdef HAVE_XCB_GLX_CREATE_CONTEXT { GLX(EXT_create_context_es2_profile), VER(0,0), Y, N, N, Y }, -#else - { GLX(EXT_create_context_es2_profile), VER(0,0), N, N, N, N }, -#endif { GLX(MESA_copy_sub_buffer), VER(0,0), Y, N, N, N }, { GLX(MESA_multithread_makecurrent),VER(0,0), Y, N, Y, N }, { GLX(MESA_swap_control), VER(0,0), Y, N, N, Y }, @@ -519,7 +512,7 @@ __glXGetStringFromTable(const struct extension_info *ext, } } - ext_str = Xmalloc(ext_str_len + 1); + ext_str = malloc(ext_str_len + 1); if (ext_str != NULL) { point = ext_str;