[HID] Swap the HID demo over to the vulkan backend

This commit is contained in:
Dr. Chat 2018-05-04 12:13:44 -05:00
parent 88729e2ac4
commit e971e38cdb
2 changed files with 3 additions and 2 deletions

View File

@ -17,8 +17,8 @@
#include "xenia/base/main.h"
#include "xenia/base/threading.h"
#include "xenia/hid/input_system.h"
#include "xenia/ui/gl/gl_provider.h"
#include "xenia/ui/imgui_drawer.h"
#include "xenia/ui/vulkan/vulkan_provider.h"
#include "xenia/ui/window.h"
// Available input drivers:
@ -67,7 +67,7 @@ std::vector<std::unique_ptr<hid::InputDriver>> CreateInputDrivers(
std::unique_ptr<xe::ui::GraphicsProvider> CreateDemoGraphicsProvider(
xe::ui::Window* window) {
return xe::ui::gl::GLProvider::Create(window);
return xe::ui::vulkan::VulkanProvider::Create(window);
}
void DrawInputStatus();

View File

@ -30,6 +30,7 @@ project("xenia-hid-demo")
"xenia-hid",
"xenia-hid-nop",
"xenia-ui",
"xenia-ui-vulkan",
})
filter("platforms:Linux")
links({