[ScanSetup] Fix error on complete scan with T2 tuners.
[vuplus_dvbapp] / main / enigma.cpp
index 1cdd867..49c5017 100644 (file)
@@ -251,8 +251,9 @@ int main(int argc, char **argv)
 
        {
                gPainter p(my_lcd_dc);
-               p.resetClip(eRect(0, 0, 132, 64));
+               p.resetClip(eRect(ePoint(0, 0), my_lcd_dc->size()));
                p.clear();
+               p.flush();
        }
 
        return exit_code;
@@ -326,3 +327,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