Implement FONTDEF (3)

This commit is contained in:
otya128 committed 2016-12-30 16:49:32 +09:00
1 parent 20b00236a2
commit 6f4b4d0f65
3 files changed
+18 -5

No files matched your search

+2 -5
View File
@@ -736,10 +736,7 @@ class PetitComputer
return;
}
SDL_GL_MakeCurrent(window, context);
console.GRPF = graphic.createGRPF(fontFile);
graphic.GRPFWidth = console.GRPF.surface.w;
graphic.GRPFHeight = console.GRPF.surface.h;
console.GRPF.createTexture(renderer, textureScaleMode);
console.initGRPF();
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glEnable(GL_DEPTH_TEST);
version(Windows)
@@ -1669,7 +1666,7 @@ class PetitComputer
}
if (fontdef)
{
//TODO
this.console.initGRPF();
}
}