Move WindowDriver implementations to platform folder

This commit is contained in:
2025-06-21 01:23:54 +10:00
parent ccd5306636
commit d89f8de08f
8 changed files with 9 additions and 9 deletions

View File

@@ -0,0 +1,36 @@
/**
* Copyright (c) 2025, Jayden Grubb <contact@jaydengrubb.com>
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifdef NOVA_WINDOWS
#include "platform/windows/window_driver.h"
#ifdef NOVA_VULKAN
#include <vulkan/vulkan.h>
#include <vulkan/vulkan_win32.h>
#endif
#include <nova/core/debug.h>
using namespace Nova;
Win32WindowDriver::Win32WindowDriver() {
NOVA_AUTO_TRACE();
}
Win32WindowDriver::~Win32WindowDriver() {
NOVA_AUTO_TRACE();
}
const char* Win32WindowDriver::get_surface_extension() const {
#ifdef NOVA_VULKAN
return VK_KHR_WIN32_SURFACE_EXTENSION_NAME;
#else
return nullptr;
#endif
}
#endif // NOVA_WINDOWS