Author: richard
Date: Mon Feb 9 08:22:54 2009
New Revision: 4100
URL: http://svn.slimdevices.com?rev=4100&root=Jive&view=rev
Log:
Bug: N/A
Descripiton:
Additional fix for hardware double buffering.
Modified:
7.4/trunk/squeezeplay/src/squeezeplay/src/ui/jive_framework.c
Modified: 7.4/trunk/squeezeplay/src/squeezeplay/src/ui/jive_framework.c
URL:
http://svn.slimdevices.com/7.4/trunk/squeezeplay/src/squeezeplay/src/ui/jive_framework.c?rev=4100&root=Jive&r1=4099&r2=4100&view=diff
==============================================================================
--- 7.4/trunk/squeezeplay/src/squeezeplay/src/ui/jive_framework.c (original)
+++ 7.4/trunk/squeezeplay/src/squeezeplay/src/ui/jive_framework.c Mon Feb 9
08:22:54 2009
@@ -519,13 +519,15 @@
lua_pushboolean(L, 0);
- if (lua_pcall(L, 3, 0, 2) != 0) {
+ if (lua_pcall(L, 3, 1, 2) != 0) {
fprintf(stderr, "error in update_screen:\n\t%s\n",
lua_tostring(L, -1));
return 0;
}
/* flip screen */
- jive_surface_flip(screen);
+ if (lua_toboolen(L, -1)) {
+ jive_surface_flip(screen);
+ }
lua_pop(L, 2);
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins