1
0

Fix rendering

This commit is contained in:
otya128
2016-12-10 18:55:21 +09:00
parent e524ef445b
commit a9987b483d
2 changed files with 7 additions and 4 deletions

View File

@@ -302,7 +302,7 @@ class Console
{
if (!visibles[i] && !showCursor)
continue;
petitcom.chScreen2(petitcom.currentDisplay.rect[i].x, petitcom.currentDisplay.rect[i].y, petitcom.currentDisplay.rect[i].w, petitcom.currentDisplay.rect[i].h);
petitcom.chRenderingDisplay(i);
int consoleWidth = petitcom.currentDisplay.rect[i].w / fontWidth;
int consoleHeight = petitcom.currentDisplay.rect[i].h / fontHeight;
glDisable(GL_TEXTURE_2D);