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:
@ -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),
|
||||
|
||||
Reference in New Issue
Block a user