summaryrefslogtreecommitdiff
path: root/src/glx/clientattrib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/clientattrib.c')
-rw-r--r--src/glx/clientattrib.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/glx/clientattrib.c b/src/glx/clientattrib.c
index 37f14c541a5..181ad06044c 100644
--- a/src/glx/clientattrib.c
+++ b/src/glx/clientattrib.c
@@ -129,20 +129,3 @@ __indirect_glPopClientAttrib(void)
}
}
#endif
-
-void
-__glFreeAttributeState(struct glx_context * gc)
-{
- __GLXattribute *sp, **spp;
-
- for (spp = &gc->attributes.stack[0];
- spp < &gc->attributes.stack[__GL_CLIENT_ATTRIB_STACK_DEPTH]; spp++) {
- sp = *spp;
- if (sp) {
- free((char *) sp);
- }
- else {
- break;
- }
- }
-}