mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Fix ubsan reported errors in rendering
This allows the TPS demo to run without an ubsan reports from any of the rendering code.
This commit is contained in:
parent
7f5c469292
commit
062d74bb9c
12 changed files with 81 additions and 76 deletions
|
|
@ -259,7 +259,7 @@ public:
|
|||
struct InstanceData {
|
||||
// Store instance pointer as well as common instance processing information,
|
||||
// to make processing more cache friendly.
|
||||
enum Flags {
|
||||
enum Flags : uint32_t {
|
||||
FLAG_BASE_TYPE_MASK = 0xFF,
|
||||
FLAG_CAST_SHADOWS = (1 << 8),
|
||||
FLAG_CAST_SHADOWS_ONLY = (1 << 9),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue