From 0efdc01740c69bd8ad6f9d0ccb8ec82eb55ea0ca Mon Sep 17 00:00:00 2001 From: Yaraslau Tamashevich Date: Mon, 30 Sep 2024 12:51:21 +0300 Subject: [PATCH] Load rendered backend from config --- metainfo.xml | 1 + src/contour/Config.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/metainfo.xml b/metainfo.xml index 65b53f7343..cd2b05b052 100644 --- a/metainfo.xml +++ b/metainfo.xml @@ -110,6 +110,7 @@
  • Port to C++20's `std::format()` (#1598)
  • Enable support for Unicode version 16.0.0 (#1606)
  • Drop support for Ubuntu 23.10 and older. In order to have less burdain of maintencne, we only support the latest LTS of Ubuntu, which currently is 24.04 (#1607)
  • +
  • Fix rendered backend loading from config
  • diff --git a/src/contour/Config.cpp b/src/contour/Config.cpp index 1a34a25d71..361ae51ba6 100644 --- a/src/contour/Config.cpp +++ b/src/contour/Config.cpp @@ -342,6 +342,7 @@ void YAMLConfigReader::load(Config& c) loadFromEntry("renderer.tile_direct_mapping", c.textureAtlasDirectMapping); loadFromEntry("renderer.tile_hastable_slots", c.textureAtlasHashtableSlots); loadFromEntry("renderer.tile_cache_count", c.textureAtlasTileCount); + loadFromEntry("renderer.backend", c.renderingBackend); loadFromEntry("bypass_mouse_protocol_modifier", c.bypassMouseProtocolModifiers); loadFromEntry("on_mouse_select", c.onMouseSelection); loadFromEntry("mouse_block_selection_modifier", c.mouseBlockSelectionModifiers);