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

feat(vulkan): gfxrenderer picks the opengl 4.6 or the vulkan 1.4 renderer (B1-B3)

This commit is contained in:
2026-10-24 03:06:33 +02:00
parent 6bcdb7dd05
commit 68fa5dc2da
25 changed files with 3056 additions and 83 deletions

View File

@@ -46,6 +46,12 @@ python_screen_viewer::python_screen_viewer(std::shared_ptr<python_rt> rt, std::s
conf->window = Application.window(-1, true, conf->window_size.x, conf->window_size.y,
monitor, false, Global.python_sharectx);
if (conf->window == nullptr)
{
// e.g. the renderer has no opengl context to share
ErrorLog("python screen \"" + surfacename + "\": window couldn't be made");
continue;
}
{
int w;