Initial setup.

Correctly linking glfw and spdlog...
Linking could be improved by not needing the sandbox
application to also be linked with glfw
This commit is contained in:
2022-04-20 21:40:35 +02:00
parent 2a93a78c4f
commit dab01f1541
13 changed files with 132 additions and 254 deletions

View File

@ -0,0 +1,9 @@
#pragma once
#include <spdlog/spdlog.h>
#include "MyGraphicsEngine/window.h"
inline void test (){
spdlog::info("Linked correctly!");
}

View File

@ -0,0 +1,22 @@
#pragma once
#include <GLFW/glfw3.h>
class BarinkWindow{
private:
GLFWwindow* window;
bool FullScreen;
bool VulkanSupported;
int Width, Height;
bool InitGLFW();
public:
BarinkWindow(const int width, const int height);
~BarinkWindow();
void EnterLoop();
};