summaryrefslogtreecommitdiffstats
path: root/src/glx/drisw_glx.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-07-28 11:16:00 -0400
committerKristian Høgsberg <[email protected]>2010-07-28 16:45:25 -0400
commitc356f5867f2c1fad7155df538b9affa8dbdcf869 (patch)
tree4e9dcebb8bd1709506b70b11202a259586d31463 /src/glx/drisw_glx.c
parent66fc35cde9ed68a09920ad6a28de794dd1d3aa8c (diff)
glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types.
Diffstat (limited to 'src/glx/drisw_glx.c')
-rw-r--r--src/glx/drisw_glx.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
index 9d4bee91ab0..070c9d612b5 100644
--- a/src/glx/drisw_glx.c
+++ b/src/glx/drisw_glx.c
@@ -35,7 +35,7 @@ struct drisw_display
struct drisw_context
{
- __GLXcontext base;
+ struct glx_context base;
__GLXDRIcontext dri_vtable;
__DRIcontext *driContext;
@@ -240,7 +240,7 @@ static const __DRIextension *loader_extensions[] = {
*/
static void
-drisw_destroy_context(__GLXcontext *context)
+drisw_destroy_context(struct glx_context *context)
{
struct drisw_context *pcp = (struct drisw_context *) context;
struct drisw_screen *psc = (struct drisw_screen *) context->psc;
@@ -259,7 +259,7 @@ drisw_destroy_context(__GLXcontext *context)
}
static Bool
-driBindContext(__GLXcontext * context,
+driBindContext(struct glx_context * context,
__GLXDRIdrawable * draw, __GLXDRIdrawable * read)
{
struct drisw_context *pcp = (struct drisw_context *) context;
@@ -272,7 +272,7 @@ driBindContext(__GLXcontext * context,
}
static void
-driUnbindContext(__GLXcontext * context)
+driUnbindContext(struct glx_context * context)
{
struct drisw_context *pcp = (struct drisw_context *) context;
struct drisw_screen *psc = (struct drisw_screen *) pcp->base.psc;
@@ -289,10 +289,10 @@ static const struct glx_context_vtable drisw_context_vtable = {
NULL,
};
-static __GLXcontext *
+static struct glx_context *
drisw_create_context(struct glx_screen *base,
struct glx_config *config_base,
- GLXContext shareList, int renderType)
+ struct glx_context *shareList, int renderType)
{
struct drisw_context *pcp, *pcp_shared;
__GLXDRIconfigPrivate *config = (__GLXDRIconfigPrivate *) config_base;
@@ -433,7 +433,7 @@ static const struct glx_screen_vtable drisw_screen_vtable = {
};
static struct glx_screen *
-driCreateScreen(int screen, __GLXdisplayPrivate *priv)
+driCreateScreen(int screen, struct glx_display *priv)
{
__GLXDRIscreen *psp;
const __DRIconfig **driver_configs;