sigh moving to windows

This commit is contained in:
2026-04-11 00:24:26 -05:00
parent f8f103e5e9
commit 9c98964588
5 changed files with 30 additions and 1 deletions

View File

@@ -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);
}

View File

@@ -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_;
};