mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup: change POD casts from static_cast to functional/ctor casts, for consistency (#2648)
Co-authored-by: Raziel Alphadios <raziely@gmail.com>
This commit is contained in:
@@ -328,7 +328,7 @@ namespace bgfx { namespace spirv
|
||||
|
||||
bx::ErrorAssert err;
|
||||
|
||||
uint16_t count = static_cast<uint16_t>(uniforms.size() );
|
||||
uint16_t count = uint16_t(uniforms.size());
|
||||
bx::write(_writer, count, &err);
|
||||
|
||||
uint32_t fragmentBit = isFragmentShader ? kUniformFragmentBit : 0;
|
||||
|
||||
Reference in New Issue
Block a user