Author: richard
Date: Mon Feb 9 08:23:52 2009
New Revision: 4101
URL: http://svn.slimdevices.com?rev=4101&root=Jive&view=rev
Log:
r4...@harrypotter (orig r4100): richard | 2009-02-09 16:22:54 +0000
Bug: N/A
Descripiton:
Additional fix for hardware double buffering.
Modified:
7.4/branches/pango/ (props changed)
7.4/branches/pango/squeezeplay/src/squeezeplay/src/ui/jive_framework.c
Propchange: 7.4/branches/pango/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Mon Feb 9 08:23:52 2009
@@ -4,7 +4,7 @@
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.2/trunk:2921
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.3/private-branches/jive-refresh:3653
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.3/trunk:3993
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.4/trunk:4095
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.4/trunk:4100
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:2013
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/SN:1083
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/scrolling:1378
Modified: 7.4/branches/pango/squeezeplay/src/squeezeplay/src/ui/jive_framework.c
URL:
http://svn.slimdevices.com/7.4/branches/pango/squeezeplay/src/squeezeplay/src/ui/jive_framework.c?rev=4101&root=Jive&r1=4100&r2=4101&view=diff
==============================================================================
--- 7.4/branches/pango/squeezeplay/src/squeezeplay/src/ui/jive_framework.c
(original)
+++ 7.4/branches/pango/squeezeplay/src/squeezeplay/src/ui/jive_framework.c Mon
Feb 9 08:23:52 2009
@@ -538,13 +538,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