mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
Fix C4267
/C4244
warnings
Address warnings involving lossy conversions from larger integer-types into smaller integer-types
This commit is contained in:
parent
86de7d8aa3
commit
37b75f0928
11 changed files with 77 additions and 83 deletions
|
@ -26,7 +26,7 @@ class GPU {
|
|||
MAKE_LOG_FUNCTION(log, gpuLogger)
|
||||
|
||||
static constexpr u32 maxAttribCount = 12; // Up to 12 vertex attributes
|
||||
static constexpr u32 vramSize = 6_MB;
|
||||
static constexpr u32 vramSize = u32(6_MB);
|
||||
Registers regs; // GPU internal registers
|
||||
std::array<vec4f, 16> currentAttributes; // Vertex attributes before being passed to the shader
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue