Merge branch 'master' of https://github.com/OpenPLi/enigma2
[openblackhole/openblackhole-enigma2.git] / main / enigma.cpp
index 11d6fdb..fccd09e 100644 (file)
@@ -340,3 +340,20 @@ void dump_malloc_stats(void)
        struct mallinfo mi = mallinfo();
        eDebug("MALLOC: %d total", mi.uordblks);
 }
+
+#ifdef USE_LIBVUGLES2
+#include <vuplus_gles.h>
+
+void setAnimation_current(int a)
+{
+       gles_set_animation_func(a);
+}
+
+void setAnimation_speed(int speed)
+{
+       gles_set_animation_speed(speed);
+}
+#else
+void setAnimation_current(int a) {}
+void setAnimation_speed(int speed) {}
+#endif