1
0

Fix XSCREEN 6 sprite rendering

This commit is contained in:
otya128
2016-12-16 22:56:14 +09:00
parent c8d85b4669
commit 97d057aabc

View File

@@ -675,7 +675,6 @@ class Sprite
auto texture = petitcom.graphic.GRP[sppage[0]].glTexture; auto texture = petitcom.graphic.GRP[sppage[0]].glTexture;
float aspect = disw2 / dish2; float aspect = disw2 / dish2;
float z = -0.01f; float z = -0.01f;
int spmax = petitcom.xscreenmode == 1 ? this.spmax : 512;//XSCREENが2,3じゃないと下画面は描画しない
glBindTexture(GL_TEXTURE_2D, texture); glBindTexture(GL_TEXTURE_2D, texture);
glEnable(GL_TEXTURE_2D); glEnable(GL_TEXTURE_2D);
// glDisable(GL_TEXTURE_2D); // glDisable(GL_TEXTURE_2D);