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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user