From 19b9a4affdc0a0022c16ace5740c84f302214451 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Mon, 14 Apr 2025 13:16:19 -0400 Subject: [PATCH] The reload mechanism for shaders is a bit better, but still to make them unique. --- combat_ui.cpp | 2 +- guecs.cpp | 40 ++++++++++++++++++++++++---------------- guecs.hpp | 17 +++++++++++------ raycaster.cpp | 3 +-- shaders.cpp | 29 ++++++++++++++++++----------- shaders.hpp | 7 ++++--- tests/shaders.cpp | 14 +++++++++----- 7 files changed, 68 insertions(+), 44 deletions(-) diff --git a/combat_ui.cpp b/combat_ui.cpp index 75f4dfa..aaccae6 100644 --- a/combat_ui.cpp +++ b/combat_ui.cpp @@ -18,7 +18,7 @@ namespace gui { $gui.set(button, {"leather_pouch-128"}); // $gui.set(button, {}); $gui.set