get rid of #define VK_NO_PROTOTYPES
This commit is contained in:
@@ -2,16 +2,20 @@
|
||||
#include <util.hpp>
|
||||
#include <nfd.hpp>
|
||||
#include <Core.hpp>
|
||||
#include <parallel-rdp/parallel-rdp-standalone/volk/volk.h>
|
||||
#include <parallel-rdp/ParallelRDPWrapper.hpp>
|
||||
#include <utility>
|
||||
|
||||
Window::Window(const n64::Core& core) {
|
||||
InitSDL();
|
||||
InitParallelRDP(core.GetRDRAM());
|
||||
InitParallelRDP(core.GetRDRAM(), window);
|
||||
InitImgui();
|
||||
}
|
||||
|
||||
[[nodiscard]] bool Window::gotClosed(SDL_Event event) {
|
||||
return event.type == SDL_WINDOWEVENT
|
||||
&& event.window.event == SDL_WINDOWEVENT_CLOSE
|
||||
&& event.window.windowID == SDL_GetWindowID(window);
|
||||
}
|
||||
|
||||
void Window::InitSDL() {
|
||||
SDL_Init(SDL_INIT_EVERYTHING);
|
||||
window = SDL_CreateWindow(
|
||||
|
||||
Reference in New Issue
Block a user