You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix union order to simplify empty initializers.
This commit is contained in:
@@ -116,11 +116,11 @@ class RendererCanvasRenderRD : public RendererCanvasRender {
|
||||
|
||||
struct ShaderSpecialization {
|
||||
union {
|
||||
uint32_t packed_0;
|
||||
|
||||
struct {
|
||||
uint32_t use_lighting : 1;
|
||||
};
|
||||
|
||||
uint32_t packed_0;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user