diff --git a/README.md b/README.md index 483b2f5..55b495f 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,20 @@ ###### MacroLibX, a rewrite of 42 School's MiniLibX using SDL2 and Vulkan. The goal of this version is to provide a light, fast, and modern graphical tool while keeping the same API. +## 💫 Features + +### 🏁 Performances +Built on top of Vulkan, the MacroLibX takes advantage of its very low-level nature to achieve high performance with great control over available resources. + +### 💻 Cross-Platform +Designed to be totally cross-platform, it can run on any SDL2-supported platform that supports Vulkan (even the Nintendo Switch ! theoretically... ). + +### 🗿 Close to the old minilibx +One of the guidelines of this lib was to get as close as possible to the old minilibx API, and therefore to the educational choices of the old minilibx. + +### 📖 It's all FOSS +Everything in this repo is entirely free and open source, all available under the MIT license (even the third-party libraries used). + ## 🖥️ Installation ### Dependencies diff --git a/src/renderer/core/render_core.cpp b/src/renderer/core/render_core.cpp index c708fd9..3849a8a 100644 --- a/src/renderer/core/render_core.cpp +++ b/src/renderer/core/render_core.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/12/17 23:33:34 by maldavid #+# #+# */ -/* Updated: 2023/12/12 15:45:26 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/15 15:21:26 by maldavid ### ########.fr */ /* */ /* ************************************************************************** */ @@ -16,8 +16,10 @@ #define VK_USE_PLATFORM_WIN32_KHR #elif defined(__APPLE__) || defined(__MACH__) #define VK_USE_PLATFORM_MACOS_MVK + #define VK_USE_PLATFORM_METAL_EXT #else #define VK_USE_PLATFORM_XLIB_KHR + #define VK_USE_PLATFORM_WAYLAND_KHR #endif #include "render_core.h" diff --git a/src/renderer/core/vk_instance.cpp b/src/renderer/core/vk_instance.cpp index 9ee7914..3a51c75 100644 --- a/src/renderer/core/vk_instance.cpp +++ b/src/renderer/core/vk_instance.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/08 19:04:21 by maldavid #+# #+# */ -/* Updated: 2023/12/12 15:46:06 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/15 16:20:26 by maldavid ### ########.fr */ /* */ /* ************************************************************************** */ @@ -21,10 +21,8 @@ namespace mlx { VkApplicationInfo appInfo{}; appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO; - appInfo.pApplicationName = "MacroLibX"; - appInfo.applicationVersion = VK_MAKE_VERSION(1, 0, 0); appInfo.pEngineName = "MacroLibX"; - appInfo.engineVersion = VK_MAKE_VERSION(1, 0, 0); + appInfo.engineVersion = VK_MAKE_VERSION(1, 2, 1); appInfo.apiVersion = VK_API_VERSION_1_2; VkInstanceCreateInfo createInfo{};