Fix C4267/C4244 warnings

Address warnings involving lossy conversions from larger integer-types into smaller integer-types
This commit is contained in:
Wunkolo 2023-06-19 20:10:43 -07:00
parent 86de7d8aa3
commit 37b75f0928
11 changed files with 77 additions and 83 deletions

View file

@ -911,7 +911,7 @@ void Renderer::drawVertices(PICA::PrimType primType, std::span<const Vertex> ver
}
vbo.bufferVertsSub(vertices);
OpenGL::draw(primitiveTopology, vertices.size());
OpenGL::draw(primitiveTopology, GLsizei(vertices.size()));
}
constexpr u32 topScreenBuffer = 0x1f000000;