1
0

Fix BGPAGE

This commit is contained in:
otya128
2016-12-14 17:58:54 +09:00
parent a07bf1d37c
commit 55e9329f43

View File

@@ -718,7 +718,7 @@ class PetitComputer
if(currentDisplay.rect.length > 1 && BGvisibles[1])
{
chRenderingDisplay(1);
glBindTexture(GL_TEXTURE_2D, graphic.GRP[bgpage[0]].glTexture);
glBindTexture(GL_TEXTURE_2D, graphic.GRP[bgpage[1]].glTexture);
for(int i = bgmax; i < bg.length; i++)
{
bg[i].render(1, currentDisplay.rect[1].w, currentDisplay.rect[1].h);