Cleanup: Overlay: Rename GlobalsUboStorage to UniformData

This commit is contained in:
Clément Foucault
2025-04-26 02:26:52 +02:00
committed by Clément Foucault
parent 6c4b410d3e
commit cac80a9e3c
12 changed files with 143 additions and 144 deletions

View File

@@ -235,7 +235,7 @@ void Resources::update_clip_planes(const State &state)
void Resources::update_theme_settings(const DRWContext *ctx, const State &state)
{
using namespace math;
GlobalsUboStorage &gb = theme;
UniformData &gb = theme;
auto rgba_uchar_to_float = [](uchar r, uchar b, uchar g, uchar a) {
return float4(r, g, b, a) / 255.0f;