Fix BG rendering

This commit is contained in:
otya128 committed 2016-12-10 21:55:17 +09:00
1 parent d2e384c29d
commit 7991e406a0
2 files changed
+2 -10

No files matched your search

-8
View File
@@ -642,14 +642,6 @@ class PetitComputer
version(test) glRotatef(rot_test_deg, rot_test_x, rot_test_y, rot_test_z);
glBindTexture(GL_TEXTURE_2D, graphic.GRP[bgpage].glTexture);
if (BGvisibles[0])
{
for(int i = 0; i < bgmax; i++)
{
bg[i].render(400f, 240f);
}
}
if (BGvisibles[0])
{
chRenderingDisplay(0);