Cleanup: Overlay: Rename GlobalsUboStorage to UniformData
This commit is contained in:
committed by
Clément Foucault
parent
6c4b410d3e
commit
cac80a9e3c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user