From d0bbbc9d902f504b39e62166415ccba1f4ee9413 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Mon, 9 Dec 2002 14:38:53 +0000 Subject: * Adaptation pour permettre de g�rer des displays lists en GL. --- generic/Group.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'generic') 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); } -- cgit v1.1