summaryrefslogtreecommitdiff
path: root/src/mesa/main/dlist.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-06-30 15:41:55 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-06-30 15:41:55 +0000
commitd179e16501c408e1c57e436d5cf597c91f7ef040 (patch)
tree33f5b26e268423267d4727ce9f6585a5b81192ee /src/mesa/main/dlist.h
parent9f6798d6e1a59b8a0ca258d49d6afae128735f41 (diff)
Added _mesa_delete_list() to delete a display list, but don't remove from
hash table. Make _mesa_destroy_list() static.
Diffstat (limited to 'src/mesa/main/dlist.h')
-rw-r--r--src/mesa/main/dlist.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mesa/main/dlist.h b/src/mesa/main/dlist.h
index 9436603d0a..ef6a10af83 100644
--- a/src/mesa/main/dlist.h
+++ b/src/mesa/main/dlist.h
@@ -5,9 +5,9 @@
/*
* Mesa 3-D graphics library
- * Version: 5.1
+ * Version: 6.5.1
*
- * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -38,7 +38,8 @@
#if _HAVE_FULL_GL
-extern void _mesa_destroy_list( GLcontext *ctx, GLuint list );
+extern void
+_mesa_delete_list(GLcontext *ctx, struct mesa_display_list *dlist);
extern void GLAPIENTRY _mesa_CallList( GLuint list );
@@ -82,9 +83,6 @@ extern void _mesa_save_vtxfmt_init( GLvertexformat *vfmt );
#else
/** No-op */
-#define _mesa_destroy_list(c,l) ((void)0)
-
-/** No-op */
#define _mesa_init_dlist_table(t,ts) ((void)0)
/** No-op */