#ifdef USE_GL
-#if !defined(HAVE_COCOA) && !defined(HAVE_ANDROID)
+#if !defined(HAVE_JWZGLES) && !defined(HAVE_COCOA)
# include <GL/glu.h>
#endif
CleanupSproingies(int screen)
{
sp_instance *si = &si_list[screen];
+
+ if (! si) return;
+
/*
int t;
if (si->SproingieBoom) {
sp_instance *si;
int t;
+ active_screens++;
+ CleanupSproingies(screen);
+
if (si_list == NULL) {
if ((si_list = (sp_instance *) calloc(numscreens,
sizeof (sp_instance))) == NULL)
}
si = &si_list[screen];
- active_screens++;
- CleanupSproingies(screen);
-
if (mspr < 0)
mspr = 0;
if (mspr >= MAXSPROING)