17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-08 21:00:03 +01:00

feat(vulkan): vulkan 1.4 core with the user interface and the launcher, shaders split into ogl46/vk14 with SPIR-V binaries loaded first

This commit is contained in:
2026-10-24 05:47:11 +02:00
parent 68fa5dc2da
commit bd589f272d
235 changed files with 9397 additions and 3975 deletions

View File

@@ -16,9 +16,10 @@ ui::map_panel::map_panel() : ui_panel(STR_C("Map"), false)
window_flags = ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse;
#ifdef WITH_OPENGL_MODERN
// the map is drawn with the geometry banks and the framebuffers of the opengl renderer
opengl46_renderer *renderer = dynamic_cast<opengl46_renderer*>(GfxRenderer.get());
if (!renderer) {
ErrorLog("map not supported on old renderer");
WriteLog("map: drawn by the opengl renderer only");
return;
}
#else