sigh moving to windows
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
|
||||
#include "Window.hpp"
|
||||
|
||||
Window::Window() {
|
||||
|
||||
init();
|
||||
|
||||
}
|
||||
|
||||
int Window::init() {
|
||||
|
||||
window_ = SDL_CreateWindow("How to Vulkan", 1280u, 720u, SDL_WINDOW_VULKAN | SDL_WINDOW_RESIZABLE);
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "SDL3/SDL.h"
|
||||
#include "SDL3/SDL_Vulkan.h"
|
||||
|
||||
class Window {
|
||||
|
||||
public:
|
||||
@@ -10,6 +13,9 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
int init();
|
||||
|
||||
SDL_Window* window_;
|
||||
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user