mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 02:52:10 +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;
|
||||
}
|
||||
|
||||
uint32_t raw() const {
|
||||
IntType raw() const {
|
||||
return m_bits;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user