mirror of
https://github.com/ApfelTeeSaft/WV-Core.git
synced 2026-08-26 19:43:26 +00:00
Added window defaults as extern variables
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
namespace WillowVox
|
||||
{
|
||||
extern const char* appWindowName;
|
||||
extern int appDefaultWindowX;
|
||||
extern int appDefaultWindowY;
|
||||
|
||||
class App
|
||||
{
|
||||
public:
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ namespace WillowVox
|
||||
Logger::Log("Using WillowVox Engine");
|
||||
|
||||
Renderer::Init();
|
||||
Window::InitWindow(1280, 720, "WillowVox Engine");
|
||||
Window::InitWindow(appDefaultWindowX, appDefaultWindowY, appWindowName);
|
||||
auto& window = Window::GetInstance();
|
||||
window.SetBackgroundColor(0.1f, 0.1f, 0.1f, 1.0f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user