mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
Fix raw() accessor on the Flags class
The current implementation has a bug where it casts the underlying int type to a uint32_t. The is incorrect for enums like DxvkShaderFlag which are based on uint64_t.
This commit is contained in:
parent
4b50d24231
commit
ae881981f9
@ -64,7 +64,7 @@ namespace dxvk {
|
|||||||
m_bits = 0;
|
m_bits = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t raw() const {
|
IntType raw() const {
|
||||||
return m_bits;
|
return m_bits;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user