vulkan and imgui fixes

This commit is contained in:
CocoSimone
2022-08-11 14:43:59 +02:00
parent d41581b644
commit 402062920e
3 changed files with 5 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ void Window::InitSDL() {
"natsukashii",
SDL_WINDOWPOS_CENTERED,
SDL_WINDOWPOS_CENTERED,
1280, 720,
800, 600,
SDL_WINDOW_VULKAN | SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI
);
@@ -155,6 +155,7 @@ void Window::InitImgui() {
//io.Fonts->AddFontFromFileTTF("../../misc/fonts/ProggyTiny.ttf", 10.0f);
//ImFont* font = io.Fonts->AddFontFromFileTTF("c:\\Windows\\Fonts\\ArialUni.ttf", 18.0f, NULL, io.Fonts->GetGlyphRangesJapanese());
//IM_ASSERT(font != NULL);
io.Fonts->AddFontDefault();
// Upload Fonts
{