summaryrefslogtreecommitdiffstats
path: root/src/glx/glxextensions.h
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-07-28 10:28:43 -0400
committerKristian Høgsberg <[email protected]>2010-07-28 16:42:00 -0400
commit66fc35cde9ed68a09920ad6a28de794dd1d3aa8c (patch)
tree30821221cce180dd5e5ee0a3181cab259ba42e4e /src/glx/glxextensions.h
parent38c51a76533a90cf2c9381c99247cfac45fe70eb (diff)
glx: Rename __GLXscreenConfigs to struct glx_screen
Because double underscores in private type names is painful.
Diffstat (limited to 'src/glx/glxextensions.h')
-rw-r--r--src/glx/glxextensions.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/glx/glxextensions.h b/src/glx/glxextensions.h
index 4f1b6619d65..e5f0b448efb 100644
--- a/src/glx/glxextensions.h
+++ b/src/glx/glxextensions.h
@@ -234,13 +234,13 @@ enum
#define __GL_EXT_BYTES ((__NUM_GL_EXTS + 7) / 8)
-struct __GLXscreenConfigsRec;
+struct glx_screen;
struct __GLXcontextRec;
-extern GLboolean __glXExtensionBitIsEnabled(struct __GLXscreenConfigsRec *psc,
+extern GLboolean __glXExtensionBitIsEnabled(struct glx_screen *psc,
unsigned bit);
extern const char *__glXGetClientExtensions(void);
-extern void __glXCalculateUsableExtensions(struct __GLXscreenConfigsRec *psc,
+extern void __glXCalculateUsableExtensions(struct glx_screen *psc,
GLboolean
display_is_direct_capable,
int server_minor_version);
@@ -256,8 +256,7 @@ extern GLboolean __glExtensionBitIsEnabled(const struct __GLXcontextRec *gc,
unsigned bit);
extern void
-__glXEnableDirectExtension(struct __GLXscreenConfigsRec *psc,
- const char *name);
+__glXEnableDirectExtension(struct glx_screen *psc, const char *name);
/* Source-level backwards compatibility with old drivers. They won't
* find the respective functions, though.