vulkan and imgui fixes
This commit is contained in:
3
external/imgui/CMakeLists.txt
vendored
3
external/imgui/CMakeLists.txt
vendored
@@ -17,4 +17,5 @@ add_library(imgui
|
||||
imgui/backends/imgui_impl_vulkan.h
|
||||
imgui/backends/imgui_impl_vulkan.cpp)
|
||||
|
||||
target_include_directories(imgui PUBLIC ${SDL2_INCLUDE_DIRS} imgui imgui/backends)
|
||||
target_include_directories(imgui PUBLIC ${SDL2_INCLUDE_DIRS} imgui imgui/backends)
|
||||
#target_compile_definitions(imgui PRIVATE VK_NO_PROTOTYPES)
|
||||
1
external/parallel-rdp/ParallelRDPWrapper.hpp
vendored
1
external/parallel-rdp/ParallelRDPWrapper.hpp
vendored
@@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#define VULKAN_DEBUG
|
||||
#include <Core.hpp>
|
||||
#include <wsi.hpp>
|
||||
#include <SDL2/SDL.h>
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user