aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/Group.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/generic/Group.c b/generic/Group.c
index 1188aba..9f117a3 100644
--- a/generic/Group.c
+++ b/generic/Group.c
@@ -615,6 +615,16 @@ CallRegularCC(Item item)
/*
* Do some generic post-work in behalf of the (regular) children.
*/
+#ifdef GLX
+ /*
+ * Remove the item display list so that it will be recreated
+ * to reflect the changes.
+ */
+ if (item->gl_list) {
+ glDeleteLists(item->gl_list, 1);
+ item->gl_list = 0;
+ }
+#endif
if (ISSET(item->inv_flags, ZN_REPICK_FLAG)) {
SET(wi->events_flags, INTERNAL_NEED_REPICK);
}