diff options
author | Kristian Høgsberg <[email protected]> | 2007-10-16 16:07:47 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2007-10-16 16:07:52 -0400 |
commit | 6c533ea2d1953152f7d95d6c984e0d287edb46c2 (patch) | |
tree | 50ab58561c8ee4e1de2aef1572e90bf7d2d7f42e /src/glx/x11/glxclient.h | |
parent | 791ad0e77f48cd17f7c893bfbf63f21e62caee40 (diff) |
Handle fbconfigs and glx visuals separately.
The old implementation fetches fbconfigs or glx visuals once and assumes the list
describes both fbconfigs and glx visuals. This patch splits it up and fetches
visuals and fbconfigs in two steps and keep the two lists separate. A server
could have no glx visuals or no glx fbconfigs and the old code wouldn't know the
difference.
Diffstat (limited to 'src/glx/x11/glxclient.h')
-rw-r--r-- | src/glx/x11/glxclient.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/x11/glxclient.h b/src/glx/x11/glxclient.h index 0709f3ef26e..b464e505fc5 100644 --- a/src/glx/x11/glxclient.h +++ b/src/glx/x11/glxclient.h @@ -500,9 +500,9 @@ struct __GLXscreenConfigsRec { #endif /** - * Linked list of configurations for this screen. + * Linked list of glx visuals and fbconfigs for this screen. */ - __GLcontextModes *configs; + __GLcontextModes *visuals, *configs; /** * Per-screen dynamic GLX extension tracking. The \c direct_support |