Code cleanup
Fixed remaining warnings (MSVC VS2022)
This commit is contained in:
parent
f6e77be11f
commit
ac957ef8af
6 changed files with 30 additions and 25 deletions
|
|
@ -100,7 +100,7 @@ public:
|
|||
for (size_t i = 0; i < textures.size(); i++) {
|
||||
std::random_device rndDevice;
|
||||
std::default_random_engine rndEngine(rndDevice());
|
||||
std::uniform_int_distribution<short> rndDist(50, 255);
|
||||
std::uniform_int_distribution<> rndDist(50, UCHAR_MAX);
|
||||
const int32_t dim = 3;
|
||||
const size_t bufferSize = dim * dim * 4;
|
||||
std::vector<uint8_t> texture(bufferSize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue