Fix rendering

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

No files matched your search

+1 -1
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);