diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-03-20 08:41:26 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2017-05-17 20:02:18 +0200 |
commit | 84f764a7591715104b28c035c837ce9fd86157ad (patch) | |
tree | 66f0da85d15684053d8f78582e22c74a6421c778 /src/glx/g_glxglvnddispatchindices.h | |
parent | dce41f7728913aecaecbc318889cabd6dda9d8db (diff) |
glxglvnddispatch: Add missing dispatch for GetDriverConfig
Together with some fixes to xdriinfo this fixes xdriinfo not working
with glvnd.
Since apps (xdriinfo) expect GetDriverConfig to work without going to
need through the dance to setup a glxcontext (which is a reasonable
expectation IMHO), the dispatch for this ends up significantly different
then any other dispatch function.
This patch gets the job done, but I'm not really happy with how this
patch turned out, suggestions for a better fix are welcome.
Cc: Kyle Brenneman <kbrenneman@nvidia.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Cc: mesa-stable@lists.freedesktop.org
Diffstat (limited to 'src/glx/g_glxglvnddispatchindices.h')
-rw-r--r-- | src/glx/g_glxglvnddispatchindices.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/g_glxglvnddispatchindices.h b/src/glx/g_glxglvnddispatchindices.h index 05a2c8cf3ce..3ba50a74abb 100644 --- a/src/glx/g_glxglvnddispatchindices.h +++ b/src/glx/g_glxglvnddispatchindices.h @@ -39,6 +39,7 @@ typedef enum __GLXdispatchIndex { DI_GetCurrentDisplayEXT, // GetCurrentDrawable implemented by libglvnd // GetCurrentReadDrawable implemented by libglvnd + DI_GetDriverConfig, // GetFBConfigAttrib implemented by libglvnd DI_GetFBConfigAttribSGIX, DI_GetFBConfigFromVisualSGIX, |