Fix graphic rendering

This commit is contained in:
otya128 committed 2016-12-10 19:06:32 +09:00
1 parent a9987b483d
commit c156b4e295
2 files changed
+8 -18

No files matched your search

+7
View File
@@ -584,6 +584,13 @@ class Graphic
sendDrawMessage(dm);
}
int gprio;
void render()
{
for (int i = 0; i < petitcom.currentDisplay.rect.length; i++)
{
render(i, petitcom.currentDisplay.rect[i].w, petitcom.currentDisplay.rect[i].h);
}
}
void render(int display, int w, int h)
{
if (!visibles[display])