Fix GRPF size

This commit is contained in:
otya128 committed 2016-12-10 20:39:17 +09:00
1 parent 356951fb41
commit 2f19e886be
3 files changed
+15 -12

No files matched your search

+4
View File
@@ -550,6 +550,10 @@ class PetitComputer
writeln(SDL_GetError.to!string);
return;
}
console.GRPF = graphic.createGRPF(fontFile);
graphic.GRPFWidth = console.GRPF.surface.w;
graphic.GRPFHeight = console.GRPF.surface.h;
console.GRPF.createTexture(renderer, textureScaleMode);
chScreen(0, 0, 400, 240);
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glEnable(GL_DEPTH_TEST);