summaryrefslogtreecommitdiff
path: root/src/glx/clientattrib.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-07-28 11:16:00 -0400
committerKristian Høgsberg <krh@bitplanet.net>2010-07-28 16:45:25 -0400
commitc356f5867f2c1fad7155df538b9affa8dbdcf869 (patch)
tree4e9dcebb8bd1709506b70b11202a259586d31463 /src/glx/clientattrib.c
parent66fc35cde9ed68a09920ad6a28de794dd1d3aa8c (diff)
glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types.
Diffstat (limited to 'src/glx/clientattrib.c')
-rw-r--r--src/glx/clientattrib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glx/clientattrib.c b/src/glx/clientattrib.c
index b26c17938d..7792fa31f9 100644
--- a/src/glx/clientattrib.c
+++ b/src/glx/clientattrib.c
@@ -39,7 +39,7 @@
static void
do_enable_disable(GLenum array, GLboolean val)
{
- __GLXcontext *gc = __glXGetCurrentContext();
+ struct glx_context *gc = __glXGetCurrentContext();
__GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
unsigned index = 0;
@@ -69,7 +69,7 @@ __indirect_glDisableClientState(GLenum array)
void
__indirect_glPushClientAttrib(GLuint mask)
{
- __GLXcontext *gc = __glXGetCurrentContext();
+ struct glx_context *gc = __glXGetCurrentContext();
__GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
__GLXattribute **spp = gc->attributes.stackPointer, *sp;
@@ -97,7 +97,7 @@ __indirect_glPushClientAttrib(GLuint mask)
void
__indirect_glPopClientAttrib(void)
{
- __GLXcontext *gc = __glXGetCurrentContext();
+ struct glx_context *gc = __glXGetCurrentContext();
__GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
__GLXattribute **spp = gc->attributes.stackPointer, *sp;
GLuint mask;
@@ -127,7 +127,7 @@ __indirect_glPopClientAttrib(void)
#endif
void
-__glFreeAttributeState(__GLXcontext * gc)
+__glFreeAttributeState(struct glx_context * gc)
{
__GLXattribute *sp, **spp;