summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-11-30 11:12:56 -0800
committerIan Romanick <[email protected]>2012-01-02 12:41:45 -0800
commitc9d25cf73fceebf55d5b1bbe0f3f6704a45223b5 (patch)
tree289fde674b94322709f34653cf2a2606bc9568a6 /src
parent78aa71a3ce8a999d64f30ce4f6d3939eec198f16 (diff)
glx: Add extension strings for GLX_ARB_create_context and GLX_ARB_create_context_profile
Note that these extensions are not automatically enabled for screens capable of direct-rendering. Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/glx/glxextensions.c2
-rw-r--r--src/glx/glxextensions.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c
index 819fffc32fd..df5ef5c6b47 100644
--- a/src/glx/glxextensions.c
+++ b/src/glx/glxextensions.c
@@ -71,6 +71,8 @@ struct extension_info
/* *INDENT-OFF* */
static const struct extension_info known_glx_extensions[] = {
+ { 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_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 },
diff --git a/src/glx/glxextensions.h b/src/glx/glxextensions.h
index fe0e12f1d7e..f432fdb5943 100644
--- a/src/glx/glxextensions.h
+++ b/src/glx/glxextensions.h
@@ -33,7 +33,9 @@
enum
{
- ARB_get_proc_address_bit = 0,
+ ARB_create_context_bit = 0,
+ ARB_create_context_profile_bit,
+ ARB_get_proc_address_bit,
ARB_multisample_bit,
ATI_pixel_format_float_bit,
EXT_visual_info_bit,